Revision: 116
Author: baoilleach
Date: 2006-05-13 11:45:57 -0700 (Sat, 13 May 2006)
ViewCVS: http://svn.sourceforge.net/cclib/?rev=116&view=rev
Log Message:
-----------
Changed so it doesn't import qtprogress if Qt is not installed.
Modified Paths:
--------------
trunk/src/cclib/progress/__init__.py
Modified: trunk/src/cclib/progress/__init__.py
===================================================================
--- trunk/src/cclib/progress/__init__.py 2006-05-12 23:50:23 UTC (rev 115)
+++ trunk/src/cclib/progress/__init__.py 2006-05-13 18:45:57 UTC (rev 116)
@@ -1,2 +1,7 @@
from textprogress import TextProgress
-from qtprogress import QtProgress
+try:
+ import qt
+except ImportError:
+ pass # import QtProgress will cause an error
+else:
+ from qtprogress import QtProgress
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|