We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32854cf commit 364a887Copy full SHA for 364a887
roundup/cgi/engine_zopetal.py
@@ -7,6 +7,7 @@
7
import mimetypes
8
import os
9
import os.path
10
+import stat
11
12
from roundup.cgi.templating import StringIO, context, TALLoaderBase
13
from roundup.cgi.PageTemplates import PageTemplate
@@ -30,7 +31,7 @@ def load(self, tplname):
30
31
32
# has it changed?
33
try:
- stime = os.stat(src)[os.path.stat.ST_MTIME]
34
+ stime = os.stat(src)[stat.ST_MTIME]
35
except os.error as error:
36
if error.errno != errno.ENOENT:
37
raise
0 commit comments