Changeset 6d06ea6fa448…
Parent 79c413ef4df1…
by
Changes to one file · Browse files at 6d06ea6fa448 Showing diff from parent 79c413ef4df1 Diff from another changeset...
@@ -89,6 +89,13 @@ self.ipath = os.path.join(thgpath, 'icons', 'tortoise')
self.menu = tortoise.menuthg.menuThg()
+ import tortoise.debugthg
+ global debugf
+ if tortoise.debugthg.level('N')
+ debugf = tortoise.debugthg.debugf
+ else:
+ debugf = tortoise.debugthg.debugf_No
+
def icon(self, iname):
return os.path.join(self.ipath, iname)
@@ -121,7 +128,7 @@ self.cacherepo = None
return None
except StandardError, e:
- print e
+ debugf(e)
return None
def run_dialog(self, menuitem, hgtkcmd, cwd = None):
|
Loading...