From a243a78f5a38c5bcbf0402738a6b3e2ece71218e Mon Sep 17 00:00:00 2001 From: jchu Date: Sun, 23 Jan 2005 23:30:54 +0000 Subject: made the config dict accessible everywhere --- tupkg/server/tupkgs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tupkg/server/tupkgs b/tupkg/server/tupkgs index 83925d2..b3a967c 100755 --- a/tupkg/server/tupkgs +++ b/tupkg/server/tupkgs @@ -234,12 +234,12 @@ def getDefaultConfig(): return confdict +confdict = getDefaultConfig() + def main(argv=None): if argv is None: argv = sys.argv - confdict = getDefaultConfig() - try: optlist, args = getopt.getopt(argv[1:], "c:", ["config="]) except getopt.GetoptError: -- cgit v1.2.3-70-g09d2