[Reproducible-commits] [misc] 01/01: clean-notes: write the output file over the original. the notes are on git, there is no point in writing over another file

Mattia Rizzolo mapreri-guest at moszumanska.debian.org
Fri Feb 13 17:33:23 UTC 2015


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

mapreri-guest pushed a commit to branch master
in repository misc.

commit 2b30e1da1faa469d9dfeaebdb7dd47b6529166e8
Author: Mattia Rizzolo <mattia at mapreri.org>
Date:   Fri Feb 13 18:33:02 2015 +0100

    clean-notes: write the output file over the original. the notes are on git, there is no point in writing over another file
---
 clean-notes | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clean-notes b/clean-notes
index ba10c7e..05ff8bf 100755
--- a/clean-notes
+++ b/clean-notes
@@ -360,7 +360,7 @@ def write_out(notes):
             out += ("  bugs:\n")
             for bug in values['bugs']:
                 out += ("    - " + str(bug) + "\n")
-    with open('notes.yml', 'wb') as fd:
+    with open(notes_yaml, 'wb') as fd:
         fd.write(out.encode('utf-8'))
 
 if __name__ == '__main__':

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