don't set warn = True, it will be overwritten in the next line (#71682)

pull/71737/head
Evgeni Golov 4 years ago committed by GitHub
parent 59a240cd31
commit a10af345a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -45,7 +45,6 @@ def to_safe_group_name(name, replacer="_", force=False, silent=False):
else:
if C.TRANSFORM_INVALID_GROUP_CHARS == 'never':
display.vvvv('Not replacing %s' % msg)
warn = True
warn = 'Invalid characters were found in group names but not replaced, use -vvvv to see details'
if warn:

Loading…
Cancel
Save