summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2018-04-09 22:46:48 -0700
committerTodd Leonhardt <todd.leonhardt@gmail.com>2018-04-09 22:46:48 -0700
commit4f68eb2a9f037d2369558cb7de232b4ce3898cf0 (patch)
treec2ffcff1cde5aee2442dad220bc114c1030477cc
parent5e349dc4ffcad2a5d30219b56b3ac33dcd1aadc7 (diff)
downloadcmd2-git-4f68eb2a9f037d2369558cb7de232b4ce3898cf0.tar.gz
Fixed imports since new categorization feature requires Iterable
-rwxr-xr-xcmd2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2.py b/cmd2.py
index b461868a..6179df69 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -56,7 +56,7 @@ import pyperclip
# Collection is a container that is sizable and iterable
# It was introduced in Python 3.6. We will try to import it, otherwise use our implementation
try:
- from collections.abc import Collection
+ from collections.abc import Collection, Iterable
except ImportError:
if six.PY3: