From d4572e841ce344bf1644b0f50660877f68ed576c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 13 Feb 2012 20:29:55 +1100 Subject: [PATCH] autotest: fixed displayed git hash in autotest --- Tools/autotest/autotest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/autotest/autotest.py b/Tools/autotest/autotest.py index a5c48284b2..821c2c8cde 100755 --- a/Tools/autotest/autotest.py +++ b/Tools/autotest/autotest.py @@ -193,7 +193,7 @@ class TestResults(object): '''test results class''' def __init__(self): self.date = time.asctime() - self.githash = util.run_cmd('git rev-parse HEAD', output=True) + self.githash = util.run_cmd('git rev-parse HEAD', output=True).strip() self.tests = [] self.files = []