diff options
author | 2009-12-02 20:04:10 +0100 | |
---|---|---|
committer | 2009-12-02 20:04:10 +0100 | |
commit | f810a8d2eba2061984441fb42b196b56717564f5 (patch) | |
tree | 3c5ba264d450b47c80b88e6e7fd8827a1d30e764 | |
parent | Disable spin (diff) | |
download | kernel-check-f810a8d2eba2061984441fb42b196b56717564f5.tar.gz kernel-check-f810a8d2eba2061984441fb42b196b56717564f5.tar.bz2 kernel-check-f810a8d2eba2061984441fb42b196b56717564f5.zip |
Fix userquery import
-rwxr-xr-x | pym/kernelcheck/kernelcheck.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pym/kernelcheck/kernelcheck.py b/pym/kernelcheck/kernelcheck.py index 6b30d41..ae4f490 100755 --- a/pym/kernelcheck/kernelcheck.py +++ b/pym/kernelcheck/kernelcheck.py @@ -5,7 +5,10 @@ from portage.output import blue, bold, colorize, EOutput, darkgreen #FIXME #from _emerge.stdout_spinner import stdout_spinner #TODO -from _emerge.userquery import userquery +try: + from _emerge.userquery import userquery +except ImportError: + from _emerge import userquery #FIXME proper checking without except import getopt import portage |