summaryrefslogtreecommitdiff
path: root/portato
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--portato/__init__.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/portato/__init__.py b/portato/__init__.py
index 44a4da4..98c019d 100644
--- a/portato/__init__.py
+++ b/portato/__init__.py
@@ -17,9 +17,13 @@ import sys, os
from optparse import OptionParser, SUPPRESS_HELP
from .log import start as logstart
-from .constants import LOCALE_DIR, APP, VERSION
+from .constants import LOCALE_DIR, APP, VERSION, REVISION
from .helper import debug, info, error
+# set better version info
+if REVISION:
+ VERSION = '%s (git: %s)' % (VERSION, REVISION)
+
# listener-handling
__listener = None