]> git.decadent.org.uk Git - dak.git/commitdiff
dak/generate_releases.py: handle empty list of signingkeys
authorAnsgar Burchardt <ansgar@debian.org>
Sun, 12 Aug 2012 15:20:30 +0000 (17:20 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Sun, 12 Aug 2012 15:20:30 +0000 (17:20 +0200)
dak/generate_releases.py

index fe843efa73831e1c5eecdc3651b0d4ef8acde087..72fb4304e1b99571e05bcebc5789b9a7ab1c1cd6 100755 (executable)
@@ -98,7 +98,7 @@ def sign_release_dir(suite, dirname):
         # the array for consistency
         firstkey = True
 
-        for keyid in suite.signingkeys:
+        for keyid in suite.signingkeys or []:
             defkeyid = "--default-key %s" % keyid
 
             os.system("gpg %s %s %s --detach-sign <%s >>%s" %