diff options
Diffstat (limited to 'src/ee/part')
-rw-r--r-- | src/ee/part/__init__.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ee/part/__init__.py b/src/ee/part/__init__.py index 36a3d3c..4ed6edb 100644 --- a/src/ee/part/__init__.py +++ b/src/ee/part/__init__.py @@ -23,9 +23,8 @@ class Entry(object): class PartDb(object): def __init__(self): - self.parts = [] # type: List[Entry] - self.pn_index = {} # type: MutableMapping[str, Entry] - self.dpn_indexes = {} # type: MutableMapping[str, MutableMapping[str, Entry]] + self.parts: List[Entry] = [] + self.pn_index: MutableMapping[str, Entry] = {} self.new_entries = 0 def add_entry(self, part: types.Part, new: bool): |