[misc] 02/03: use quotes instead of the more obscure !!str notation
Mattia Rizzolo
mattia at debian.org
Sun Mar 11 14:59:05 UTC 2018
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch master
in repository misc.
commit 368f4eb3c425663fba5c3da8641e0fdd60c2eecc
Author: Mattia Rizzolo <mattia at debian.org>
Date: Sun Mar 11 15:55:01 2018 +0100
use quotes instead of the more obscure !!str notation
Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
rblib/yamlfiles.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rblib/yamlfiles.py b/rblib/yamlfiles.py
index 86c5d43..5edaa41 100644
--- a/rblib/yamlfiles.py
+++ b/rblib/yamlfiles.py
@@ -36,7 +36,7 @@ def write_out(notes):
ver = values['version']
if ver in ('3.6e-1', '4.2e-4') or \
pkg == 'cdebconf-entropy':
- out += " version: !!str %s\n" % ver
+ out += " version: '%s'\n" % ver
else:
out += " version: %s\n" % ver
except KeyError:
--
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