Removed buggy statement, which was expected to detect recently created review files
This commit is contained in:
@ -77,7 +77,7 @@ def first_initialize_metadata_review(filename_path,initials):
|
||||
status_dict = repo_obj.status()
|
||||
for key in status_dict:
|
||||
# Identify keys associated to review files and stage them
|
||||
if review_filename_tail in key:
|
||||
if 'review/'+filename in key:
|
||||
# Stage changes
|
||||
repo_obj.index.add(key)
|
||||
repo_obj.create_commit(message="Initialized metadata review process.")
|
||||
|
Reference in New Issue
Block a user