Skip to content
Snippets Groups Projects
Commit 540a2fae authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

fix

parent 7c37a0f7
No related branches found
No related tags found
No related merge requests found
......@@ -51,9 +51,10 @@ class AbstractCFood(object):
# a match
# instances shall be used to keep track of a match; i.e. entities can be
# object variable
def __init__(self, pattern, use_cache=False):
def __init__(self, pattern, use_cache=False, access=lambda x: x):
self.pattern = re.compile(pattern)
self.use_cache = use_cache
self.access = access
def treat_match(self, crawled_file, match):
print(crawled_file)
......
......@@ -224,5 +224,4 @@ def find_file_for_fileglob(glob):
def find_records_referencing_files(glob):
# is it possible to reference the "data records"? anything might
# reference this file
db.execute_query("FIND Record which references file which is stored
at")
db.execute_query("FIND Record which references file which is stored at")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment