listtables.py
changeset 83 515fadd3d286
parent 68 b0d972be2631
child 93 b72591087495
equal deleted inserted replaced
82:7b82dc1fb6f5 83:515fadd3d286
     1 #!/usr/bin/env python3.2
     1 #!/usr/bin/env python3.2
     2 
     2 
     3 from pgtoolkit import pgbrowser, toolbase, prettysize
     3 from pgtoolkit import pgbrowser, toolbase
     4 
     4 
     5 
     5 
     6 class ListTablesTool(toolbase.SimpleTool):
     6 class ListTablesTool(toolbase.SimpleTool):
     7     def __init__(self):
     7     def __init__(self):
     8         toolbase.SimpleTool.__init__(self, name='listtables', desc='List tables in database.')
     8         toolbase.SimpleTool.__init__(self, name='listtables', desc='List tables in database.')