Commit 4aeaf5c2 authored by Dimitri Podborski's avatar Dimitri Podborski
Browse files

close #196

parent ee006bd8
...@@ -44,7 +44,7 @@ def print_infos(table_entries): ...@@ -44,7 +44,7 @@ def print_infos(table_entries):
document = entry['document'] document = entry['document']
project = entry['project'] project = entry['project']
if not document: if not document:
print(' Document not found. Try updating the database (-u) or select another meeting (--meeting).') print('WARNING: Document not found. Try updating the database (-u) or select another meeting (--meeting).')
continue continue
print('-'*51+ '\n' + document['document'] + '\n' + '. '*25 + '.') print('-'*51+ '\n' + document['document'] + '\n' + '. '*25 + '.')
print('MDMS metadata') print('MDMS metadata')
...@@ -326,7 +326,7 @@ def parse_cli(docs, project_url_or_path, close_flag, gitlab_projects, input_docs ...@@ -326,7 +326,7 @@ def parse_cli(docs, project_url_or_path, close_flag, gitlab_projects, input_docs
for doc in docs: for doc in docs:
document = helpers.find_document(input_docs, 'm'+doc) document = helpers.find_document(input_docs, 'm'+doc)
if not document: if not document:
print(' Document not found. Try updating the database (-u) or select another meeting (--meeting).') print('WARNING: Document "m{}" not found. Try updating the database (-u) or select another meeting (--meeting).'.format(doc))
continue continue
table_entries.append({ table_entries.append({
'project': project, 'project': project,
......
Supports Markdown
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