From 01b84e7dd97790b9bc262e016917f6029c66ca46 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Tue, 7 Jan 2014 15:25:38 -0700 Subject: [PATCH] Fix Travis handling of a fully-numeric commit hash being YAML-converted to a number instead of a string Docker-DCO-1.0-Signed-off-by: Andrew Page (github: tianon) Upstream-commit: 3779291e9b2f939aa98b91b35552bd9b76c9f39a Component: engine --- components/engine/hack/travis/dco.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/engine/hack/travis/dco.py b/components/engine/hack/travis/dco.py index 6a875863a1..cab26fedd7 100755 --- a/components/engine/hack/travis/dco.py +++ b/components/engine/hack/travis/dco.py @@ -5,7 +5,7 @@ import yaml from env import commit_range -commit_format = '-%n hash: %h%n author: %aN <%aE>%n message: |%n%w(0,2,2)%B' +commit_format = '-%n hash: "%h"%n author: %aN <%aE>%n message: |%n%w(0,2,2)%B' gitlog = subprocess.check_output([ 'git', 'log', '--reverse',