We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03d639d commit 210882cCopy full SHA for 210882c
setup.py
@@ -76,10 +76,7 @@ def run(self):
76
repo_commit = repo_commit.decode()
77
78
# We write the installation commit even if it's empty
79
- if PY3:
80
- cfg_parser = configparser.RawConfigParser()
81
- else:
82
- cfg_parser = configparser.ConfigParser()
+ cfg_parser = configparser.RawConfigParser()
83
cfg_parser.read(pjoin('nipype', 'COMMIT_INFO.txt'))
84
cfg_parser.set('commit hash', 'install_hash', repo_commit.strip())
85
out_pth = pjoin(self.build_lib, 'nipype', 'COMMIT_INFO.txt')
0 commit comments