Changeset 1410 for trunk/pylucid/PyLucid/__init__.py
- Timestamp:
- 02/14/08 15:23:36 (2 years ago)
- Files:
-
- 1 modified
-
trunk/pylucid/PyLucid/__init__.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pylucid/PyLucid/__init__.py
r1405 r1410 17 17 """ 18 18 19 from django.utils.version import get_svn_revision 19 try: 20 from django.utils.version import get_svn_revision 20 21 21 svn_revision = get_svn_revision("PyLucid") 22 if svn_revision == u'SVN-unknown': 23 # No SVN checkout, a release? 22 svn_revision = get_svn_revision("PyLucid") 23 if svn_revision == u'SVN-unknown': 24 # No SVN checkout, a release? 25 svn_revision = "" 26 else: 27 # Add a space between the normal version number and the SVN revision number. 28 svn_revision = " " + svn_revision 29 except ImportError: 30 # using /setup.py in the lite version without django in the sys.path 24 31 svn_revision = "" 25 else:26 # Add a space between the normal version number and the SVN revision number.27 svn_revision = " " + svn_revision28 32 29 33 # PyLucid Version String