[Reproducible-commits] [misc] 03/07: Can just return

Chris Lamb lamby at moszumanska.debian.org
Thu Jul 9 09:43:08 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 4de8e16867f4538267f27c7bb40562767c895bb6
Author: Chris Lamb <lamby at debian.org>
Date:   Thu Jul 9 10:36:00 2015 +0100

    Can just return
---
 clean-notes | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/clean-notes b/clean-notes
index 14ee100..81c909c 100755
--- a/clean-notes
+++ b/clean-notes
@@ -208,8 +208,7 @@ def load_reproducible_status():
 
 def load_notes():
     with open(notes_yaml, encoding='utf-8') as fd:
-        notes = yaml.safe_load(fd)
-    return notes
+        return yaml.safe_load(fd)
 
 
 def check_notes_validity(notes, testedpkgs):

-- 
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