Improved logging.

This commit is contained in:
Bastian Kleineidam 2013-03-12 20:47:11 +01:00
parent d1f0f23b4c
commit e207c8ee47
6 changed files with 6 additions and 6 deletions

View file

@ -39,7 +39,7 @@ def handle_url(url, session, res):
continue
if contains_case_insensitive(res, name):
# we cannot handle two comics that only differ in case
print("INFO: skipping possible duplicate", name, file=sys.stderr)
print("INFO: skipping possible duplicate", repr(name), file=sys.stderr)
continue
res[name] = shortname
if not res:

View file

@ -224,7 +224,7 @@ def handle_url(url, session, res):
continue
if contains_case_insensitive(res, name):
# we cannot handle two comics that only differ in case
print("INFO: skipping possible duplicate", name, file=sys.stderr)
print("INFO: skipping possible duplicate", repr(name), file=sys.stderr)
continue
# find description
end = match.end()

View file

@ -37,7 +37,7 @@ def handle_url(url, session, res):
continue
if contains_case_insensitive(res, name):
# we cannot handle two comics that only differ in case
print("INFO: skipping possible duplicate", name, file=sys.stderr)
print("INFO: skipping possible duplicate", repr(name), file=sys.stderr)
continue
res[name] = url

View file

@ -173,7 +173,7 @@ def handle_url(url, session, url_matcher, num_matcher, res):
name = capfirst(asciify(path))
if contains_case_insensitive(res, name):
# we cannot handle two comics that only differ in case
print("INFO: skipping possible duplicate", name, file=sys.stderr)
print("INFO: skipping possible duplicate", repr(name), file=sys.stderr)
continue
if name in exclude_comics:
continue

View file

@ -67,7 +67,7 @@ def handle_url(url, session, res):
continue
if contains_case_insensitive(res, name):
# we cannot handle two comics that only differ in case
print("INFO: skipping possible duplicate", name, file=sys.stderr)
print("INFO: skipping possible duplicate", repr(name), file=sys.stderr)
continue
res[name] = shortname

View file

@ -236,7 +236,7 @@ def handle_url(url, session, res):
continue
if contains_case_insensitive(res, name):
# we cannot handle two comics that only differ in case
print("INFO: skipping possible duplicate", name, file=sys.stderr)
print("INFO: skipping possible duplicate", repr(name), file=sys.stderr)
continue
# find out how many images this comic has
end = match.end()