[Reproducible-commits] [misc] 05/05: If we're overwriting, lets just do this.

Chris Lamb lamby at moszumanska.debian.org
Tue Jul 28 15:33:28 UTC 2015


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository misc.

commit 24e483b30cd579a9304547326b49383d8e6afa8f
Author: Chris Lamb <lamby at debian.org>
Date:   Tue Jul 28 16:23:38 2015 +0100

    If we're overwriting, lets just do this.
---
 clean-notes | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/clean-notes b/clean-notes
index 4620b63..1be71f6 100755
--- a/clean-notes
+++ b/clean-notes
@@ -199,10 +199,11 @@ def load_reproducible_status():
                 status[pkg]['suite'] = item['suite']
                 status[pkg]['status'] = item['status']
         except KeyError:
-            status[pkg] = {}
-            status[pkg]['version'] = version
-            status[pkg]['suite'] = item['suite']
-            status[pkg]['status'] = item['status']
+            status[pkg] = {
+                'version': version,
+                'suite': item['suite'],
+                'status': item['status'],
+            }
 
     return status
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/misc.git



More information about the Reproducible-commits mailing list