Skip to content

Commit

Permalink
Добавление strip() в определение модифицированных файлов
Browse files Browse the repository at this point in the history
  • Loading branch information
nixel2007 committed Sep 6, 2015
1 parent 1a10622 commit 5bc1156
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/undiff1c/undiff1c.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def get_list_of_comitted_files():
for result in output.split('\n'):
log.info(result)
if result != '':
match = modified.match(result)
match = modified.match(result.strip())
if match:
files.append(match.group('name'))

Expand Down

0 comments on commit 5bc1156

Please sign in to comment.