from xml.dom.minidom import parse, parseString
from xml.parsers.expat import ExpatError
from forum.modules import ui, decorate
-from forum.settings import SVN_REVISION
+from forum.settings import VCS_REVISION
from django.contrib.auth.middleware import AuthenticationMiddleware
from django.core.exceptions import ObjectDoesNotExist
from django.utils.encoding import smart_str
for message in messages:
# Get the SVN Revision
try:
- svn_revision = int(SVN_REVISION.replace('SVN-', ''))
+ svn_revision = int(VCS_REVISION.replace('SVN-', ''))
except ValueError:
# Here we'll have to find another way of getting the SVN revision
svn_revision = 0
except ExpatError:
pass
- return result
\ No newline at end of file
+ return result