diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2021-02-21 11:51:46 -0500 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2021-02-21 11:51:46 -0500 |
commit | fa0b55c51a4810dc1f89e616a4adb92fa9e31c6c (patch) | |
tree | f5734a89a0f8739546158f3215656e333dcf31c6 | |
parent | ccb50f33b5cdff1f354bdc24618a6c665f3ab68a (diff) | |
download | cmd2-git-fa0b55c51a4810dc1f89e616a4adb92fa9e31c6c.tar.gz |
Fix error in Python 3.6
-rw-r--r-- | cmd2/utils.py | 3 |
1 files changed, 1 insertions, 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 |