changeset 568:84a45f7c9833

0.6dev: Adding Bitten version info to About Trac.
author osimons
date Sun, 05 Jul 2009 11:23:22 +0000
parents e1f5a99c41d9
children 74bc339ce7d5
files bitten/master.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/bitten/master.py
+++ b/bitten/master.py
@@ -64,6 +64,10 @@
          """Whether to show the current build status withing the Trac main 
             navigation bar""")
 
+    def __init__(self):
+        self.env.systeminfo.append(('Bitten',
+                __import__('bitten', ['__version__']).__version__))
+
     # IRequestHandler methods
 
     def match_request(self, req):
Copyright (C) 2012-2017 Edgewall Software