[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] dak/generate_releases.py: handle empty list of signingkeys



---
 dak/generate_releases.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dak/generate_releases.py b/dak/generate_releases.py
index fe843ef..72fb430 100755
--- a/dak/generate_releases.py
+++ b/dak/generate_releases.py
@@ -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" %
-- 
1.7.2.5



Reply to: