diff options
author | jchu <jchu> | 2005-01-23 23:30:54 +0000 |
---|---|---|
committer | jchu <jchu> | 2005-01-23 23:30:54 +0000 |
commit | a243a78f5a38c5bcbf0402738a6b3e2ece71218e (patch) | |
tree | 10c0155ebe3670745817ad6bc0e3cee699cde817 /tupkg/server/tupkgs | |
parent | 9c0af6358a0fdb68ceadbf54bbd825ddabdda902 (diff) | |
download | aurweb-a243a78f5a38c5bcbf0402738a6b3e2ece71218e.tar.xz |
made the config dict accessible everywhere
Diffstat (limited to 'tupkg/server/tupkgs')
-rwxr-xr-x | tupkg/server/tupkgs | 4 |
1 files 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: |