fixed issue 1249, thanks Alan

This commit is contained in:
mdipierro
2013-01-01 19:08:46 -06:00
parent dd3055836a
commit 532ddf1d9a
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.4.1-alpha.2+timestamp.2013.01.01.19.02.47
Version 2.4.1-alpha.2+timestamp.2013.01.01.19.08.01
+3 -1
View File
@@ -1493,7 +1493,9 @@ def errors():
else:
for item in request.vars:
if item[:7] == 'delete_':
# delete_all} rows doesn't contain any ticket
# Remove anything else as requested
if item[:7] == 'delete_' and (not item == "delete_all}"):
os.unlink(apath('%s/errors/%s' % (app, item[7:]), r=request))
func = lambda p: os.stat(apath('%s/errors/%s' %
(app, p), r=request)).st_mtime