summaryrefslogtreecommitdiffstats
path: root/command.py
diff options
context:
space:
mode:
Diffstat (limited to 'command.py')
-rw-r--r--command.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/command.py b/command.py
index 9e113f1a..4f6515e7 100644
--- a/command.py
+++ b/command.py
@@ -123,9 +123,9 @@ class Command(object):
123 project = None 123 project = None
124 if os.path.exists(path): 124 if os.path.exists(path):
125 oldpath = None 125 oldpath = None
126 while path and \ 126 while (path and
127 path != oldpath and \ 127 path != oldpath and
128 path != manifest.topdir: 128 path != manifest.topdir):
129 try: 129 try:
130 project = self._by_path[path] 130 project = self._by_path[path]
131 break 131 break