diff --git a/git_status.py b/git_status.py index 32c8256a3..a6aab445b 100644 --- a/git_status.py +++ b/git_status.py @@ -14,7 +14,7 @@ """Read a worktree's state from one machine-readable git status snapshot.""" -from collections import OrderedDict +import collections import os from typing import Iterator, List, Optional, TYPE_CHECKING @@ -45,8 +45,8 @@ class StatusSnapshot: """A consistent view of worktree, index, and branch state.""" def __init__(self) -> None: - self.index_changes = OrderedDict() - self.worktree_changes = OrderedDict() + self.index_changes = collections.OrderedDict() + self.worktree_changes = collections.OrderedDict() self.untracked = [] self.branch_oid = None self.branch_head = None