Commit 653ba6f1 authored by 's avatar

disabled auto-reload of help topics, as it is causing a ConflictError

parent 342f5363
...@@ -257,7 +257,7 @@ class TextTopic(HelpTopic): ...@@ -257,7 +257,7 @@ class TextTopic(HelpTopic):
def index_html(self, REQUEST=None): def index_html(self, REQUEST=None):
"View the Help Topic" "View the Help Topic"
if Globals.DevelopmentMode: if 0 and Globals.DevelopmentMode:
try: mtime=os.stat(self.file) try: mtime=os.stat(self.file)
except: mtime=0 except: mtime=0
if mtime != self._v_last_read: if mtime != self._v_last_read:
...@@ -278,7 +278,7 @@ class STXTopic(TextTopic): ...@@ -278,7 +278,7 @@ class STXTopic(TextTopic):
""" """
def index_html(self, REQUEST=None): def index_html(self, REQUEST=None):
""" View the STX Help Topic """ """ View the STX Help Topic """
if Globals.DevelopmentMode: if 0 and Globals.DevelopmentMode:
try: mtime=os.stat(self.file) try: mtime=os.stat(self.file)
except: mtime=0 except: mtime=0
if mtime != self._v_last_read: if mtime != self._v_last_read:
...@@ -314,7 +314,7 @@ class ImageTopic(HelpTopic): ...@@ -314,7 +314,7 @@ class ImageTopic(HelpTopic):
def index_html(self, REQUEST, RESPONSE): def index_html(self, REQUEST, RESPONSE):
"View the Help Topic" "View the Help Topic"
if Globals.DevelopmentMode: if 0 and Globals.DevelopmentMode:
try: mtime=os.stat(self.file) try: mtime=os.stat(self.file)
except: mtime=0 except: mtime=0
if mtime != self._v_last_read: if mtime != self._v_last_read:
......
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