Skip to content

Commit 75a36f6

Browse files
committed
using RawConfigParser instead of ConfigParser
1 parent dc09e00 commit 75a36f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/pkg_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def pkg_commit_hash(pkg_path):
5252
if PY3:
5353
cfg_parser = configparser.RawConfigParser()
5454
else:
55-
cfg_parser = configparser.ConfigParser()
55+
cfg_parser = configparser.RawConfigParser()
5656
with open(pth, encoding='utf-8') as fp:
5757
cfg_parser.readfp(fp)
5858
archive_subst = cfg_parser.get('commit hash', 'archive_subst_hash')

0 commit comments

Comments
 (0)