--- 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')