Mercurial > bitten > bitten-test
diff bitten/master.py @ 568:84a45f7c9833
0.6dev: Adding Bitten version info to About Trac.
author | osimons |
---|---|
date | Sun, 05 Jul 2009 11:23:22 +0000 |
parents | b4d3d9cbf200 |
children | dcee8ff20e82 |
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):