diff options
Diffstat (limited to 'command.py')
| -rw-r--r-- | command.py | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -119,6 +119,11 @@ class Command(object): | |||
| 119 | except KeyError: | 119 | except KeyError: |
| 120 | oldpath = path | 120 | oldpath = path |
| 121 | path = os.path.dirname(path) | 121 | path = os.path.dirname(path) |
| 122 | if not project and path == manifest.topdir: | ||
| 123 | try: | ||
| 124 | project = self._by_path[path] | ||
| 125 | except KeyError: | ||
| 126 | pass | ||
| 122 | else: | 127 | else: |
| 123 | try: | 128 | try: |
| 124 | project = self._by_path[path] | 129 | project = self._by_path[path] |
