Page MenuHomePhorge

D708.1775195126.diff
No OneTemporary

Authored By
Unknown
Size
939 B
Referenced Files
None
Subscribers
None

D708.1775195126.diff

diff --git a/wallace/__init__.py b/wallace/__init__.py
--- a/wallace/__init__.py
+++ b/wallace/__init__.py
@@ -286,11 +286,18 @@
filepath = os.path.join(root, filename)
try:
+ # ignore calls on too young files
if os.stat(filepath).st_mtime + 150 > time.time():
- log.debug("Skipping %s" % (filepath), level=8)
+ log.debug("File not more than 150s old. Skipping %s" % (filepath), level=8)
continue
- except:
+ # ignore calls on lock files
+ if '/locks/' in filepath:
+ log.debug("File is in locks directory. Skipping %s" % (filepath), level=8)
+ continue
+
+ except Exception, errmsg:
+ log.error("Error: %s. Skipping %s" % (errmsg, filepath))
continue
if not root == pickup_path:

File Metadata

Mime Type
text/plain
Expires
Fri, Apr 3, 5:45 AM (1 d, 15 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18822742
Default Alt Text
D708.1775195126.diff (939 B)

Event Timeline