Commit 08403910 authored by Jim Fulton's avatar Jim Fulton

Fixed dumb bug. (I kept the smart ones in. ;)

parent 6bd79887
......@@ -83,7 +83,7 @@
#
##############################################################################
__doc__="""System management components"""
__version__='$Revision: 1.44 $'[11:-2]
__version__='$Revision: 1.45 $'[11:-2]
import sys,os,time,string,Globals, Acquisition
......@@ -114,7 +114,7 @@ class DatabaseManager(Fake, SimpleItem.Item, Acquisition.Implicit):
)
def version_txt(self):
def version_txt():
try: return open(os.path.join(SOFTWARE_HOME,'version.txt')).read()
except: return '(unreleased version)'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment