From: Ansgar Burchardt Date: Sun, 12 Aug 2012 15:20:30 +0000 (+0200) Subject: dak/generate_releases.py: handle empty list of signingkeys X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=0aadc3d3e3877077421c544d5e7d1cedc056155c;p=dak.git dak/generate_releases.py: handle empty list of signingkeys --- diff --git a/dak/generate_releases.py b/dak/generate_releases.py index fe843efa..72fb4304 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" %