pld-ftp-admin: modules/config.py - handle missing sign_key from config
glen
glen at pld-linux.org
Wed May 27 19:19:02 CEST 2009
Author: glen Date: Wed May 27 17:19:02 2009 GMT
Module: pld-ftp-admin Tag: HEAD
---- Log message:
- handle missing sign_key from config
---- Files affected:
pld-ftp-admin/modules:
config.py (1.12 -> 1.13)
---- Diffs:
================================================================
Index: pld-ftp-admin/modules/config.py
diff -u pld-ftp-admin/modules/config.py:1.12 pld-ftp-admin/modules/config.py:1.13
--- pld-ftp-admin/modules/config.py:1.12 Wed May 27 19:17:18 2009
+++ pld-ftp-admin/modules/config.py Wed May 27 19:18:57 2009
@@ -27,9 +27,13 @@
incoming_dir = value['ftp_dir'] + '/' + value['incoming_dir'] + '/'
test_builds_dir = value['ftp_dir'] + '/' + value['test_builds_dir'] + '/'
ftp_archs = value['ftp_archs'].split(' ')
-sign_key = value['sign_key']
builderqueue = value['builderqueue']
+
+if 'sign_key' in value:
+ sign_key = value['sign_key']
+else:
+ sign_key = None
if 'old_poldek' in value and value['old_poldek'] == 'yes':
old_poldek = True
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/pld-ftp-admin/modules/config.py?r1=1.12&r2=1.13&f=u
More information about the pld-cvs-commit
mailing list