Commits

TK Soh  committed 5a21394

context: remove redundant imports and some debugging messages

  • Participants
  • Parent commits cb9fd0f

Comments (0)

Files changed (1)

File tortoise/contextmenu.py

         dialog.destroy()
 
     def _commit(self, parent_window):
-        import os, subprocess
-
-        print "_commit() on %s" % ", ".join(self._filenames)
-        
         hgpath = find_path('hg')
         if hgpath:
             cmd = "%s qct" % hgpath
             run_program(hgpath, cmd)
 
     def _diff(self, parent_window):
-        import os, subprocess
-
-        print "_diff() on %s" % ", ".join(self._filenames)
-        
         hgpath = find_path('hg')
         if hgpath:
             quoted_files = [shellquote(s) for s in self._filenames]
             cmd = "%s extdiff %s" % (hgpath, " ".join(quoted_files))
             run_program(hgpath, cmd)
 
-    def _view(self, parent_window):
-        import os, subprocess
-        
-        print "_view() on %s" % ", ".join(self._filenames)
-        
+    def _view(self, parent_window):
         hgpath = find_path('hg')
         if hgpath:
             cmd = "%s view" % hgpath