summaryrefslogtreecommitdiff
path: root/klaus/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'klaus/__init__.py')
-rw-r--r--klaus/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/klaus/__init__.py b/klaus/__init__.py
index 5363326..3a0f7df 100644
--- a/klaus/__init__.py
+++ b/klaus/__init__.py
@@ -11,7 +11,7 @@ from klaus.repo import FancyRepo
KLAUS_ROOT = os.path.dirname(__file__)
try:
- KLAUS_VERSION = utils.check_output(['git', 'log', '--format=%h', '-n', '1'])
+ KLAUS_VERSION = utils.check_output(['git', 'log', '--format=%h', '-n', '1']).strip()
except subprocess.CalledProcessError:
KLAUS_VERSION = '0.2'