summaryrefslogtreecommitdiffstats
path: root/tupkg/server
diff options
context:
space:
mode:
authorjchu <jchu>2005-01-24 00:30:54 +0100
committerjchu <jchu>2005-01-24 00:30:54 +0100
commita243a78f5a38c5bcbf0402738a6b3e2ece71218e (patch)
tree10c0155ebe3670745817ad6bc0e3cee699cde817 /tupkg/server
parent9c0af6358a0fdb68ceadbf54bbd825ddabdda902 (diff)
downloadaur-a243a78f5a38c5bcbf0402738a6b3e2ece71218e.tar.gz
aur-a243a78f5a38c5bcbf0402738a6b3e2ece71218e.tar.xz
made the config dict accessible everywhere
Diffstat (limited to 'tupkg/server')
-rwxr-xr-xtupkg/server/tupkgs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tupkg/server/tupkgs b/tupkg/server/tupkgs
index 83925d20..b3a967c1 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: