diff options
author | Alon Levy <alevy@redhat.com> | 2011-07-28 22:35:17 +0300 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2011-07-28 22:35:17 +0300 |
commit | 633cc1a03b805f6000d3e80de1b2528db6f0a535 (patch) | |
tree | 62f25f81774005af5b4fb611e303496b9f6745d3 | |
parent | 322007edaf719d57b515b8f4529c2d4229611ea4 (diff) |
check for argparse
-rwxr-xr-x | spice2 | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -4,7 +4,6 @@ import signal import os import sys import subprocess -import argparse import atexit import socket import datetime @@ -14,6 +13,12 @@ import shutil import itertools try: + import argparse +except: + print "missing argparse. try: easy_install argparse" + sys.exit(1) + +try: import guestfs import hivex except: |