schemadiff.py
changeset 7 685b20d2d3ab
parent 5 57cf8fdff5ed
child 9 2fcc8ef0b97d
--- a/schemadiff.py	Wed Aug 10 18:34:54 2011 +0200
+++ b/schemadiff.py	Fri Aug 12 14:39:49 2011 +0200
@@ -1,12 +1,11 @@
 #!/usr/bin/env python3.2
 
-from pgtools import pgmanager, pgbrowser, pgdiff
-from toolbase import SrcDstTool
+from tools import pgmanager, pgbrowser, pgdiff, toolbase
 
 
-class SchemaDiffTool(SrcDstTool):
+class SchemaDiffTool(toolbase.SrcDstTool):
     def __init__(self):
-        SrcDstTool.__init__(self, name='schemadiff', desc='Database schema diff.')
+        toolbase.SrcDstTool.__init__(self, name='schemadiff', desc='Database schema diff.')
         
         self.parser.add_argument('-s', dest='schema', nargs='*', help='Schema filter')
         self.parser.add_argument('-t', dest='table', nargs='*', help='Table filter')