summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pym/kernelcheck/kernelcheck.py')
-rwxr-xr-xpym/kernelcheck/kernelcheck.py5
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