[Reproducible-commits] [misc] 02/05: Inline single-use 'r' variable.

Chris Lamb lamby at moszumanska.debian.org
Tue Jul 28 15:33:27 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 201228a7336c6832b45d24d5bb2203700a4b5c29
Author: Chris Lamb <lamby at debian.org>
Date:   Tue Jul 28 16:21:09 2015 +0100

    Inline single-use 'r' variable.
---
 clean-notes | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/clean-notes b/clean-notes
index df8e0aa..aafd4f9 100755
--- a/clean-notes
+++ b/clean-notes
@@ -179,8 +179,7 @@ def load_reproducible_status():
         with open('reproducible.json') as fd:
             rstatus = json.load(fd)
     except FileNotFoundError:
-        r = requests.get(REPRODUCIBLE_JSON)
-        rstatus = r.json()
+        rstatus = requests.get(REPRODUCIBLE_JSON).json()
     for item in rstatus:
         pkg = item['package']
         version = str(item['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