longqueries.py
changeset 7 685b20d2d3ab
parent 5 57cf8fdff5ed
child 9 2fcc8ef0b97d
--- 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):