summaryrefslogtreecommitdiffstats
path: root/command.py
diff options
context:
space:
mode:
Diffstat (limited to 'command.py')
-rw-r--r--command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/command.py b/command.py
index 8c31c184..fa48264b 100644
--- a/command.py
+++ b/command.py
@@ -290,7 +290,7 @@ class Command:
290 output.end() 290 output.end()
291 291
292 def _ResetPathToProjectMap(self, projects): 292 def _ResetPathToProjectMap(self, projects):
293 self._by_path = dict((p.worktree, p) for p in projects) 293 self._by_path = {p.worktree: p for p in projects}
294 294
295 def _UpdatePathToProjectMap(self, project): 295 def _UpdatePathToProjectMap(self, project):
296 self._by_path[project.worktree] = project 296 self._by_path[project.worktree] = project