--- a/longqueries.py Wed Aug 10 18:34:54 2011 +0200
+++ b/longqueries.py Fri Aug 12 14:39:49 2011 +0200
@@ -1,12 +1,11 @@
#!/usr/bin/env python3.2
-from pgtools import pgstats
-from toolbase import SimpleTool
+from tools import pgstats, toolbase
-class LongQueriesTool(SimpleTool):
+class LongQueriesTool(toolbase.SimpleTool):
def __init__(self):
- SimpleTool.__init__(self, name='longqueries', desc='List long queries.')
+ toolbase.SimpleTool.__init__(self, name='longqueries', desc='List long queries.')
self.init()
def main(self):