| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d427a5b commit cece4f1
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,16 +6,12 @@ | |||
| 6 | 6 | import locale | |
| 7 | 7 | from itertools import chain | |
| 8 | 8 | from six import iterkeys, iteritems | |
| 9 | + from six.moves.configparser import ConfigParser | ||
| 9 | 10 | ||
| 10 | 11 | from bpython.keys import cli_key_dispatch as key_dispatch | |
| 11 | 12 | from bpython.autocomplete import SIMPLE as default_completion | |
| 12 | 13 | import bpython.autocomplete | |
| 13 | 14 | ||
| 14 | - try: | ||
| 15 | - from configparser import ConfigParser | ||
| 16 | - except ImportError: | ||
| 17 | - from ConfigParser import ConfigParser | ||
| 18 | - | ||
| 19 | 15 | ||
| 20 | 16 | class Struct(object): | |
| 21 | 17 | """Simple class for instantiating objects we can add arbitrary attributes | |
| Back | FazBrowse Home | New Git URL |
0 commit comments