From 0aadc3d3e3877077421c544d5e7d1cedc056155c Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Sun, 12 Aug 2012 17:20:30 +0200 Subject: [PATCH] dak/generate_releases.py: handle empty list of signingkeys --- dak/generate_releases.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" % -- 2.39.5