Skip to content

Commit fa0b55c

Browse files
committed
Fix error in Python 3.6
1 parent ccb50f3 commit fa0b55c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cmd2/utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
List,
2727
NamedTuple,
2828
Optional,
29-
OrderedDict,
3029
TextIO,
3130
Type,
3231
Union,
@@ -217,7 +216,7 @@ def remove_duplicates(list_to_prune: List) -> List:
217216
:param list_to_prune: the list being pruned of duplicates
218217
:return: The pruned list
219218
"""
220-
temp_dict: OrderedDict = collections.OrderedDict()
219+
temp_dict = collections.OrderedDict()
221220
for item in list_to_prune:
222221
temp_dict[item] = None
223222

0 commit comments

Comments
 (0)