Steve Borho  committed 39d55a6

shell: tortoisehg.dll should not be using os.popen()

This call was added by me in January before I understood how
was used as a both COM server and as a registration script. It's all kinds of
bad that it is trying to run python every time this script is executed.

fixes #113

  • Participants
  • Parent commits af9896a
  • Branches default
  • Tags 0.7.2

Comments (0)

Files changed (1)


 if hasattr(sys, "frozen") and sys.frozen == 'dll':
     import win32traceutil
-# ensure version has been recorded
-os.popen('python --version')
 # shell extension classes
 from tortoise.contextmenu import ContextMenuExtension
 from tortoise.iconoverlay import ChangedOverlay, AddedOverlay, UnchangedOverlay