From 0cb198754fe4e60fbc3466fc3d0734097344a820 Mon Sep 17 00:00:00 2001 From: urlbot Date: Sun, 19 Jul 2015 02:07:03 +0200 Subject: [PATCH] remove redundant function name strings from log.*() --- plugins.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins.py b/plugins.py index 0ad3ac5..a03cde4 100644 --- a/plugins.py +++ b/plugins.py @@ -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']))