changeset 109:bf22b32ae9f7

expire articles only after 90 days, it seems some feeds keep sending very old stuff
author Dirk Olmes <dirk@xanthippe.ping.de>
date Tue, 29 Mar 2011 04:06:50 +0200
parents 863599e84269
children 43c234c8fe87
files feedupdate-main.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/feedupdate-main.py	Thu Mar 17 02:56:56 2011 +0100
+++ b/feedupdate-main.py	Tue Mar 29 04:06:50 2011 +0200
@@ -29,7 +29,7 @@
 
 def _calculateExpireDate():
     now = datetime.now()
-    delta = timedelta(days=30)
+    delta = timedelta(days=90)
     return now - delta
 
 if __name__ == "__main__":