fix: [tool] minor cosmetic fix

pull/844/head
Christophe Vandeplas 2023-04-23 16:31:31 +02:00
parent 568e6a7507
commit fd44ebaee0
No known key found for this signature in database
GPG Key ID: BDC48619FFDC5A5B
1 changed files with 2 additions and 1 deletions

View File

@ -149,7 +149,7 @@ try:
user_input = input(f"Create relation? [\u0332yes] / \u0332no / \u0332details / \u0332tags / \u0332relation: ").lower().strip() user_input = input(f"Create relation? [\u0332yes] / \u0332no / \u0332details / \u0332tags / \u0332relation: ").lower().strip()
if user_input in ['yes', 'y', '']: if user_input in ['yes', 'y', '']:
create_relationship = True create_relationship = True
logging.info(" creating it.") print(" creating it.")
break break
if user_input in ['no', 'n']: if user_input in ['no', 'n']:
create_relationship = False create_relationship = False
@ -195,6 +195,7 @@ try:
if create_relation(lookup_cluster, cluster, rel_type=rel_type, tags=tags): if create_relation(lookup_cluster, cluster, rel_type=rel_type, tags=tags):
cluster_files_changed_tracking[lookup_cluster_filename] = True cluster_files_changed_tracking[lookup_cluster_filename] = True
except KeyboardInterrupt: except KeyboardInterrupt:
print("")
pass pass
# save all to file, and increment version number if something changed # save all to file, and increment version number if something changed