listtables.py
changeset 101 2a2d0d5df03b
parent 93 b72591087495
child 104 d8ff52a0390f
--- a/listtables.py	Tue May 06 18:37:41 2014 +0200
+++ b/listtables.py	Tue May 06 18:37:43 2014 +0200
@@ -7,7 +7,6 @@
     def __init__(self):
         toolbase.SimpleTool.__init__(self, name='listtables', desc='List tables in database.')
         self.parser.add_argument('-o', dest='options', type=str, nargs='*', help='Filter by options (eg. -o autovacuum_enabled=false).')
-        self.init()
 
     def main(self):
         browser = pgbrowser.PgBrowser(self.pgm.get_conn('target'))
@@ -31,5 +30,6 @@
 
 
 tool = ListTablesTool()
+tool.setup()
 tool.main()