mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 06:20:08 +01:00
fix lib3to6 error
This commit is contained in:
parent
bac4e59a69
commit
340f1e1600
1 changed files with 4 additions and 4 deletions
|
|
@ -71,8 +71,8 @@ class BaseVCS:
|
|||
|
||||
if dirty_files:
|
||||
log.warn(f"{cls.__name__} working directory is not clean:")
|
||||
for file in dirty_files:
|
||||
log.warn(" " + file)
|
||||
for dirty_file in dirty_files:
|
||||
log.warn(" " + dirty_file)
|
||||
|
||||
if not allow_dirty and dirty_files:
|
||||
sys.exit(1)
|
||||
|
|
@ -80,8 +80,8 @@ class BaseVCS:
|
|||
dirty_pattern_files = set(dirty_files) & filepaths
|
||||
if dirty_pattern_files:
|
||||
log.error("Not commiting when pattern files are dirty:")
|
||||
for file in dirty_pattern_files:
|
||||
log.warn(" " + file)
|
||||
for dirty_file in dirty_pattern_files:
|
||||
log.warn(" " + dirty_file)
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue