1
0
mirror of https://github.com/r4sas/py-i2phosts synced 2025-01-22 12:34:17 +00:00

py-i2phosts-maint: fix log message

This commit is contained in:
Hidden Z 2013-10-01 18:02:04 +00:00
parent 285ca6d4f9
commit 3b18825e4d

View File

@ -112,7 +112,7 @@ for host in all_hosts:
# if expired X days ago then delete
dl_e = datetime.datetime.utcnow().date() - host.expires
if dl_e > datetime.timedelta(days=config['keep_expired']):
log.info('deleting %s, reason: expired % days ago',
log.info('deleting %s, reason: expired %s days ago',
host.name, config['keep_expired'])
host.delete()
continue