Skip to content

Commit

Permalink
Fix pylint issue
Browse files Browse the repository at this point in the history
Travis-ci tests with python3 were failing with:

************* Module manic.repository_svn
R1724:221,12: Unnecessary "else" after "continue" (no-else-continue)

This should fix the problem.

(I'm not sure why this started failing now: this is old code. Maybe
pylint recently was updated to add this check?)
  • Loading branch information
billsacks committed Mar 2, 2020
1 parent 3065b0d commit 7f41c56
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions manic/repository_svn.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,8 @@ def xml_status_is_dirty(svn_output):
continue
if item == SVN_UNVERSIONED:
continue
else:
is_dirty = True
break
is_dirty = True
break
return is_dirty

# ----------------------------------------------------------------
Expand Down

0 comments on commit 7f41c56

Please sign in to comment.