diff -r 7b82dc1fb6f5 -r 515fadd3d286 listserial.py --- a/listserial.py Wed Apr 10 11:22:15 2013 +0200 +++ b/listserial.py Sat Apr 13 15:22:05 2013 +0200 @@ -1,16 +1,16 @@ #!/usr/bin/env python3.2 from pgtoolkit import toolbase, pgbrowser -from pgtoolkit.highlight import highlight, WHITE, YELLOW, RED, BOLD +from pycolib.ansicolor import highlight, WHITE, YELLOW, RED, BOLD class ListSerialTool(toolbase.SimpleTool): max_int = 2147483647 - + def __init__(self): toolbase.SimpleTool.__init__(self, name='listserial', desc='List sequences attached to column of type integer with dangerous last_value.') self.init() - + def main(self): conn = self.pgm.get_conn('target') browser = pgbrowser.PgBrowser(conn)