Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117807401
D708.1775274720.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
939 B
Referenced Files
None
Subscribers
None
D708.1775274720.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 4, 3:52 AM (12 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18822742
Default Alt Text
D708.1775274720.diff (939 B)
Attached To
Mode
D708: Make wallace skip message files which are in locks directory
Attached
Detach File
Event Timeline