From d09660203257449733853893a4b154bf6be6808a Mon Sep 17 00:00:00 2001 From: Cameron Patrick Date: Sun, 1 Aug 2004 05:57:07 +0000 Subject: [PATCH] misc cleanups --- sql-edition/servers/VendServer.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sql-edition/servers/VendServer.py b/sql-edition/servers/VendServer.py index 2133f37..85f42f4 100755 --- a/sql-edition/servers/VendServer.py +++ b/sql-edition/servers/VendServer.py @@ -3,6 +3,7 @@ USE_DB = 0 +import ConfigParser import sys, os, string, re, pwd if USE_DB: import pg from time import time, sleep @@ -424,7 +425,6 @@ class VendConfigFile: if __name__ == '__main__': - import ConfigParser options = parse_args() config_opts = VendConfigFile(options.config_file, config_options) @@ -436,8 +436,6 @@ if __name__ == '__main__': (exc_type, exc_value, exc_traceback) = sys.exc_info() print print "Connection error: "+str(exc_type)+" "+str(e) - print_tb(exc_traceback) - del exc_traceback print "Trying again in 5 seconds." sleep(5) continue -- 2.20.1