[Reproducible-commits] [misc] 01/01: Tidy spacing a little
Chris Lamb
lamby at moszumanska.debian.org
Tue Jul 7 08:35:54 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 854aa7383df505bcf0898137db016354c6eb441e
Author: Chris Lamb <lamby at debian.org>
Date: Tue Jul 7 09:34:16 2015 +0100
Tidy spacing a little
---
edit-notes | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/edit-notes b/edit-notes
index d252812..4e6881c 100755
--- a/edit-notes
+++ b/edit-notes
@@ -21,14 +21,17 @@ with open('issues.yml') as fd:
if __name__ == '__main__':
to_fix = set(args.fix_note)
- testedpkgs = clean.load_reproducible_status()
notes = clean.load_notes()
+ testedpkgs = clean.load_reproducible_status()
+
for add in args.add_note:
if add not in issues.keys():
raise ValueError('%r is not a valid issue' % add)
if args.fix_deterministic:
- to_fix.update((k for (k,v) in issues.items() if v.get('deterministic', False)))
+ to_fix.update(
+ k for (k, v) in issues.items() if v.get('deterministic', False)
+ )
for package in args.packages or notes.keys():
try:
@@ -39,7 +42,9 @@ if __name__ == '__main__':
except KeyError:
print("package %s appears not to exist; skipping" % package)
continue
- data = notes[package] = { 'version': status['version'] }
+
+ data = notes[package] = {'version': status['version']}
+
if args.take_version:
data['version'] = testedpkgs[package]['version']
--
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