pgtoolkit/toolbase.py
changeset 84 3b5dd9efba35
parent 83 515fadd3d286
child 100 d6088dba8fea
equal deleted inserted replaced
83:515fadd3d286 84:3b5dd9efba35
    22         self.parser = argparse.ArgumentParser(description=desc)
    22         self.parser = argparse.ArgumentParser(description=desc)
    23         self.parser.add_argument('-d', dest='debug', action='store_true',
    23         self.parser.add_argument('-d', dest='debug', action='store_true',
    24             help='Debug mode - print database queries.')
    24             help='Debug mode - print database queries.')
    25 
    25 
    26         self.config = ConfigParser()
    26         self.config = ConfigParser()
    27         self.config.add_option('databases', type=dict)
    27         self.config.add_option('databases', dict)
    28         self.config.add_option('meta_db')
    28         self.config.add_option('meta_db')
    29         self.config.add_option('meta_query')
    29         self.config.add_option('meta_query')
    30 
    30 
    31         self.pgm = pgmanager.get_instance()
    31         self.pgm = pgmanager.get_instance()
    32         self.target_isolation_level = None
    32         self.target_isolation_level = None