Mercurial > hg > Feedworm
comparison backend/AbstractBackend.py @ 217:bb3c851b18b1
add source file endcoding header
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Sun, 27 Apr 2014 05:33:34 +0200 |
parents | f74fe7cb5091 |
children | 699d8f1cebd4 |
comparison
equal
deleted
inserted
replaced
216:9bc4b2465435 | 217:bb3c851b18b1 |
---|---|
1 | 1 # -*- coding: utf-8 -*- |
2 from datetime import datetime, timedelta | 2 from datetime import datetime, timedelta |
3 | 3 |
4 def calculateExpireDate(preferences): | 4 def calculateExpireDate(preferences): |
5 now = datetime.now() | 5 now = datetime.now() |
6 daysToKeepFeedEntries = preferences.daysToKeepFeedEntries() | 6 daysToKeepFeedEntries = preferences.daysToKeepFeedEntries() |