From fa0b55c51a4810dc1f89e616a4adb92fa9e31c6c Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Sun, 21 Feb 2021 11:51:46 -0500 Subject: Fix error in Python 3.6 --- cmd2/utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd2/utils.py b/cmd2/utils.py index 236b2b0c..c9577e82 100644 --- a/cmd2/utils.py +++ b/cmd2/utils.py @@ -26,7 +26,6 @@ from typing import ( List, NamedTuple, Optional, - OrderedDict, TextIO, Type, Union, @@ -217,7 +216,7 @@ def remove_duplicates(list_to_prune: List) -> List: :param list_to_prune: the list being pruned of duplicates :return: The pruned list """ - temp_dict: OrderedDict = collections.OrderedDict() + temp_dict = collections.OrderedDict() for item in list_to_prune: temp_dict[item] = None -- cgit v1.2.1