]>
Commit | Line | Data |
---|---|---|
b06f652b SS |
1 | --- hplip-1.7.2/base/utils.py.ui-optional 2007-02-07 19:21:31.000000000 +0000 |
2 | +++ hplip-1.7.2/base/utils.py 2007-06-11 14:29:16.000000000 +0100 | |
3 | @@ -644,6 +644,13 @@ | |
4 | log.error("PyQt not installed. GUI not available. Exiting.") | |
5 | return False | |
6 | ||
7 | + # hplip-gui sub-package (Fedora) | |
8 | + try: | |
9 | + import ui | |
10 | + except ImportError: | |
11 | + log.error("hplip-gui not installed. GUI not available. Exiting.") | |
12 | + return False | |
13 | + | |
14 | # check version of Qt | |
15 | qtMajor = int(qt.qVersion().split('.')[0]) | |
16 |