summaryrefslogtreecommitdiff
path: root/klaus/__init__.py
diff options
context:
space:
mode:
authorposativ <info@posativ.org>2012-07-31 14:48:11 +0200
committerposativ <info@posativ.org>2012-07-31 14:48:11 +0200
commitb1957087589a7319c3c5860dbb31902ada35a932 (patch)
tree2f81e21ebdd251b4deef96af31ec876c5c09f484 /klaus/__init__.py
parent1592fc34bb69c77546f42c8ab167db48ff1be7f2 (diff)
add page title and fix invalid markup closes #30
also remove the newline from git log
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'