Skip to content

Commit

Permalink
Comment cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
jacebrowning committed May 2, 2014
1 parent e67336b commit 8ae6172
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doorstop/core/item.py
Expand Up @@ -396,7 +396,7 @@ def get_issues(self, **kwargs):
# Check external references
if settings.CHECK_REF:
try:
# TODO: find_ref shouldn't get 'ignored' internally
# TODO: find_ref should get 'self.tree.vcs.ignored' internally
self.find_ref(ignored=self.tree.vcs.ignored
if self.tree else None)
except DoorstopError as exc:
Expand Down
4 changes: 2 additions & 2 deletions doorstop/core/tree.py
Expand Up @@ -95,7 +95,7 @@ def from_list(documents, root=None):

def __init__(self, document, parent=None, root=None):
self.document = document
self.root = root or document.root # enables testing
self.root = root or document.root # enables mock testing
self.parent = parent
self.children = []
self._vcs = None
Expand All @@ -107,7 +107,7 @@ def __repr__(self):
return "<Tree {}>".format(self)

def __str__(self):
# Build parent prefix string (getattr to support testing)
# Build parent prefix string (enables mock testing)
prefix = getattr(self.document, 'prefix', self.document)
# Build children prefix strings
children = ", ".join(str(c) for c in self.children)
Expand Down

0 comments on commit 8ae6172

Please sign in to comment.