[misc] 01/01: rblib.yamlfiles: special case version 4.2e-4 too (from src:ygl) to add a git diffstr to it

Mattia Rizzolo mattia at debian.org
Thu Sep 8 22:58:00 UTC 2016


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

mattia pushed a commit to branch master
in repository misc.

commit 3cf3c064fa51b5a1ed2cf65b456960bce77e7562
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Thu Sep 8 22:57:55 2016 +0000

    rblib.yamlfiles: special case version 4.2e-4 too (from src:ygl) to add a git diffstr to it
---
 rblib/yamlfiles.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rblib/yamlfiles.py b/rblib/yamlfiles.py
index 539f446..a0464d3 100644
--- a/rblib/yamlfiles.py
+++ b/rblib/yamlfiles.py
@@ -33,7 +33,7 @@ def write_out(notes):
         else:
             out += "%s:\n" % pkg
         try:
-            if str(values['version']) == '3.6e-1' or \
+            if str(values['version']) in ('3.6e-1', '4.2e-4') or \
                     pkg == 'cdebconf-entropy':
                 out += "  version: !!str %s\n" % values['version']
             else:

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