diff options
Diffstat (limited to 'command.py')
-rw-r--r-- | command.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |