Changeset debce32cd97a…
Parent 01a9dc0762f9…
by
Changes to one file · Browse files at debce32cd97a Showing diff from parent 01a9dc0762f9 Diff from another changeset...
@@ -36,6 +36,11 @@ except ImportError:
config_nofork = None
+try:
+ from thginithook import thginithook
+except ImportError:
+ thginithook = None
+
nonrepo_commands = '''userconfig shellconfig clone debugcomplete init
about help version thgstatus serve rejects log'''
@@ -500,12 +505,9 @@ raise
QTimer.singleShot(0, reraise)
- try:
- from thginithook import thginithook
+ if thginithook is not None:
thginithook()
- except ImportError:
- pass
-
+
try:
return self._mainapp.exec_()
finally:
|
Loading...