Improved logging.
This commit is contained in:
parent
d1f0f23b4c
commit
e207c8ee47
6 changed files with 6 additions and 6 deletions
|
@ -39,7 +39,7 @@ def handle_url(url, session, res):
|
||||||
continue
|
continue
|
||||||
if contains_case_insensitive(res, name):
|
if contains_case_insensitive(res, name):
|
||||||
# we cannot handle two comics that only differ in case
|
# 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
|
continue
|
||||||
res[name] = shortname
|
res[name] = shortname
|
||||||
if not res:
|
if not res:
|
||||||
|
|
|
@ -224,7 +224,7 @@ def handle_url(url, session, res):
|
||||||
continue
|
continue
|
||||||
if contains_case_insensitive(res, name):
|
if contains_case_insensitive(res, name):
|
||||||
# we cannot handle two comics that only differ in case
|
# 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
|
continue
|
||||||
# find description
|
# find description
|
||||||
end = match.end()
|
end = match.end()
|
||||||
|
|
|
@ -37,7 +37,7 @@ def handle_url(url, session, res):
|
||||||
continue
|
continue
|
||||||
if contains_case_insensitive(res, name):
|
if contains_case_insensitive(res, name):
|
||||||
# we cannot handle two comics that only differ in case
|
# 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
|
continue
|
||||||
res[name] = url
|
res[name] = url
|
||||||
|
|
||||||
|
|
|
@ -173,7 +173,7 @@ def handle_url(url, session, url_matcher, num_matcher, res):
|
||||||
name = capfirst(asciify(path))
|
name = capfirst(asciify(path))
|
||||||
if contains_case_insensitive(res, name):
|
if contains_case_insensitive(res, name):
|
||||||
# we cannot handle two comics that only differ in case
|
# 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
|
continue
|
||||||
if name in exclude_comics:
|
if name in exclude_comics:
|
||||||
continue
|
continue
|
||||||
|
|
|
@ -67,7 +67,7 @@ def handle_url(url, session, res):
|
||||||
continue
|
continue
|
||||||
if contains_case_insensitive(res, name):
|
if contains_case_insensitive(res, name):
|
||||||
# we cannot handle two comics that only differ in case
|
# 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
|
continue
|
||||||
res[name] = shortname
|
res[name] = shortname
|
||||||
|
|
||||||
|
|
|
@ -236,7 +236,7 @@ def handle_url(url, session, res):
|
||||||
continue
|
continue
|
||||||
if contains_case_insensitive(res, name):
|
if contains_case_insensitive(res, name):
|
||||||
# we cannot handle two comics that only differ in case
|
# 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
|
continue
|
||||||
# find out how many images this comic has
|
# find out how many images this comic has
|
||||||
end = match.end()
|
end = match.end()
|
||||||
|
|
Loading…
Reference in a new issue