Browse Source

py-i2phosts-maint: add log message

pull/1/head
Hidden Z 14 years ago
parent
commit
67ae54ab91
  1. 1
      py-i2phosts-maint

1
py-i2phosts-maint

@ -60,6 +60,7 @@ else: @@ -60,6 +60,7 @@ else:
log = get_logger(filename=log_file, log_level=log_level)
all_hosts = i2phost.objects.all()
log.info('starting maintaince')
for host in all_hosts:
# how long host was added
dl = datetime.datetime.now() - host.date_added

Loading…
Cancel
Save