diff options
author | kotfu <kotfu@kotfu.net> | 2018-04-21 16:25:16 -0600 |
---|---|---|
committer | kotfu <kotfu@kotfu.net> | 2018-04-21 16:25:16 -0600 |
commit | 78339014ba78d07f9388997ba707984eb225c758 (patch) | |
tree | d78728888d126fb52af1de6938086bca5cf37f56 /cmd2/rl_utils.py | |
parent | 27b5ab6da0955fda521febada0070d4b53c7e255 (diff) | |
parent | a0a46f9396a72f440f65e46d7170a0d366796574 (diff) | |
download | cmd2-git-78339014ba78d07f9388997ba707984eb225c758.tar.gz |
Merge branch 'master' into ply
Diffstat (limited to 'cmd2/rl_utils.py')
-rw-r--r-- | cmd2/rl_utils.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cmd2/rl_utils.py b/cmd2/rl_utils.py index d5bef1ff..465fcaea 100644 --- a/cmd2/rl_utils.py +++ b/cmd2/rl_utils.py @@ -2,13 +2,9 @@ """ Imports the proper readline for the platform and provides utility functions for it """ +from enum import Enum import sys -try: - from enum34 import Enum -except ImportError: - from enum import Enum - # Prefer statically linked gnureadline if available (for macOS compatibility due to issues with libedit) try: import gnureadline as readline |