Skip to content

Commit bbf3355

Browse files
committed
Handle non-standard (Python 2?) configparser
myint/language-check#30 (comment)
1 parent d0b845c commit bbf3355

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎setup.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
try:
2121
from configparser import RawConfigParser
22-
except ImportError:
22+
except (AttributeError, ImportError):
2323
from ConfigParser import RawConfigParser
2424
from collections import MutableMapping # 2.6
2525

0 commit comments

Comments
 (0)