et = evt.GetEventType()
- #print evt.GetReplaceString()
-
if et in map:
evtType = map[et]
else:
else:
replaceTxt = ""
- self.log.write("%s -- Find text: %s %s Flags: %d \n" %
+ self.log.write("%s -- Find text: %s Replace text: %s Flags: %d \n" %
(evtType, evt.GetFindString(), replaceTxt, evt.GetFlags()))
if __name__ == '__main__':
import sys,os
import run
- run.main(['', os.path.basename(sys.argv[0])])
+ run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])