__revision__ = "$Revision$"

from textprogress import TextProgress
try:
    import qt
except ImportError:
    pass # import QtProgress will cause an error
else:
    from qtprogress import QtProgress

__revision__ = "$Revision$"

from textprogress import TextProgress
import sys

if 'qt' in sys.modules.keys():
    from qtprogress import QtProgress

Check to see if qt is loaded; if so, export QtProgress class
Check to see if qt is loaded; if so, export QtProgress class


  __revision__ = "$Revision$"
  
  from textprogress import TextProgress
+ import sys
+ 
+ if 'qt' in sys.modules.keys():
- try:
-     import qt
- except ImportError:
-     pass # import QtProgress will cause an error
- else:
      from qtprogress import QtProgress
  
Check to see if qt is loaded; if so, export QtProgress class
## Code Before:
__revision__ = "$Revision$"

from textprogress import TextProgress
try:
    import qt
except ImportError:
    pass # import QtProgress will cause an error
else:
    from qtprogress import QtProgress

## Instruction:
Check to see if qt is loaded; if so, export QtProgress class
## Code After:
__revision__ = "$Revision$"

from textprogress import TextProgress
import sys

if 'qt' in sys.modules.keys():
    from qtprogress import QtProgress
