Esempio n. 1
0
 def __init__(self, baseparser):
     """Duplicates options of a CoreOptionParser for use mid-run"""
     CoreOptionParser.__init__(self, option_list=baseparser.option_list, conflict_handler="resolve")
     # Remove the options inappropriate to change mid-run
     self.remove_option('-h')
     self.remove_option('-V')
     self.remove_option('-c')
     self.remove_option('--doc')
     self.error_msg = ''