From 21df33993b6547cbd72411066fe9028790a34e96 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Tue, 3 Jan 2017 21:17:30 +0000 Subject: [PATCH] Remove extraneous whitespace after git hash. --- src/common/defs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/defs.py b/src/common/defs.py index 94bb631e8..e49e560df 100644 --- a/src/common/defs.py +++ b/src/common/defs.py @@ -36,7 +36,7 @@ try: node = subprocess.Popen('git rev-parse --short=12 HEAD', shell=True, stdout=subprocess.PIPE).communicate()[0] if node: - version += '-' + node.decode('utf-8') + version += '-' + node.decode('utf-8').strip() except Exception: pass