def setOutput(self, name=None): import os try: os.rename(name, name + '.bkp') except: pass StreamApp.setOutput(self, name)
def help(self): StreamApp.help(self) for arg in [ '-f <from-pattern>', '-t <to-pattern>', '-c <cc-pattern>', '-s <subject-pattern>', '-x (function mode: overrides -o)', '-a (and mode: default=or)' ]: print arg
def help(self): StreamApp.help(self) for arg in [ '-f <from-pattern>', '-t <to-pattern>', '-c <cc-pattern>', '-s <subject-pattern>', '-x (function mode: overrides -o)', '-a (and mode: default=or)']: print arg