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

Commit 96316ea2 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Rename Automaton.is_in_db as is_record_in_db.

parent 063c9f73
......@@ -119,7 +119,7 @@ class Automaton(object):
self.__par = None
self.__reference = None
def _is_in_db(self, rec_id, title):
def _is_record_in_db(self, rec_id, title):
"""Return C{True} if the record is already in the database.
The search is based on the origin field.
......@@ -514,7 +514,7 @@ class Automaton(object):
print "\nprocessing record", rec_id
try:
if self._is_in_db(rec_id, title):
if self._is_record_in_db(rec_id, title):
continue
xml = store.get_record(rec_id)
......
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