diff options
author | posativ <info@posativ.org> | 2012-07-31 14:48:11 +0200 |
---|---|---|
committer | posativ <info@posativ.org> | 2012-07-31 14:48:11 +0200 |
commit | b1957087589a7319c3c5860dbb31902ada35a932 (patch) | |
tree | 2f81e21ebdd251b4deef96af31ec876c5c09f484 /klaus/__init__.py | |
parent | 1592fc34bb69c77546f42c8ab167db48ff1be7f2 (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__.py | 2 |
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' |