Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

Commit 99acc3a6 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Polish debug message for articles.py and automaton.py.

parent ddee02ba
......@@ -46,7 +46,7 @@ class Articles(Automaton):
return False
if self.dbg:
print("check article record")
print("\tcheck record article")
try:
......
......@@ -388,7 +388,7 @@ class Automaton(object):
"""
if self.dbg:
print("check record")
print("\tcheck record automaton")
try:
# fix record with a missing OAI
......@@ -564,7 +564,7 @@ class Automaton(object):
"""
if self.dbg:
print("\nprocessing record")
print("\tprocessing record", recjson["recid"], "(process_recjson)")
collection_logs = self.collection_logs
harvester = self.harvester
......@@ -574,7 +574,7 @@ class Automaton(object):
record = build_record(recjson)
if self.dbg:
print("\t", record.title().encode("utf-8"))
print(f"\t{record.title()}")
# start the log for the record
logs.append(Msg(harvester=harvester,
......@@ -622,7 +622,7 @@ class Automaton(object):
"""
if self.dbg:
print("\nprocessing record", rec_id)
print("\nget record", rec_id, "(process_recid)")
collection_logs = self.collection_logs
harvester = self.harvester
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment