1
0
mirror of http://aero2k.de/t/repos/urlbot-native.git synced 2017-09-06 15:25:38 +02:00

remove redundant function name strings from log.*()

This commit is contained in:
urlbot
2015-07-19 02:07:03 +02:00
parent 37435d3e0c
commit 0cb198754f

View File

@@ -115,7 +115,7 @@ def parse_debbug(**args):
elif 3 == status:
out.append('error for #%s: %s' % (b, title))
else:
log.plugin('parse_debbug(): unknown status %d' % status)
log.plugin('unknown status %d' % status)
return {
'msg': out
@@ -895,7 +895,7 @@ def command_dsa_watcher(argv, **args):
if 0 == status:
if conf('persistent_locked'):
msg = "command_dsa_watcher(): couldn't get exclusive lock"
msg = "couldn't get exclusive lock"
log.warn(msg)
# return { 'msg': msg }
else:
@@ -924,7 +924,7 @@ def command_dsa_watcher(argv, **args):
# that's good, no error, just 404 -> DSA not released yet
else:
log.plugin('command_dsa_watcher(): unknown status %d' % status)
log.plugin('unknown status %d' % status)
crawl_at = time.time() + 15*60
register_event(crawl_at, command_dsa_watcher, (['dsa-watcher', 'crawl']))