Skip to content

Commit

Permalink
Merge pull request #207 from michaelnt/svn-ignores
Browse files Browse the repository at this point in the history
Support repositories where the property svn:ignore isn't set
  • Loading branch information
jacebrowning committed Jun 17, 2016
2 parents 183845e + b95ffdf commit a731d1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doorstop/core/vcs/subversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ def commit(self, message=None):

@property
def ignores(self): # pragma: no cover (manual test)
if not self._ignores_cache:
if self._ignores_cache is None:
self._ignores_cache = []
os.chdir(self.path)
for line in self.call('svn', 'pg', '-R', 'svn:ignore', '.',
return_stdout=True).splitlines():
Expand Down

0 comments on commit a731d1b

Please sign in to comment.