diff options
author | Jose <jose@zeroc.com> | 2013-09-10 20:58:20 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2013-09-10 20:58:20 +0200 |
commit | d49fe96bea1b184c18fa3d7568d114a34327fdf8 (patch) | |
tree | d2a2180963252ecd4d4b5eeb70d4ad492162d51b /distribution/lib/DistUtils.py | |
parent | fix typo (diff) | |
download | ice-d49fe96bea1b184c18fa3d7568d114a34327fdf8.tar.bz2 ice-d49fe96bea1b184c18fa3d7568d114a34327fdf8.tar.xz ice-d49fe96bea1b184c18fa3d7568d114a34327fdf8.zip |
Fix makedist.py to work with python 2.6
Diffstat (limited to 'distribution/lib/DistUtils.py')
-rw-r--r-- | distribution/lib/DistUtils.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/distribution/lib/DistUtils.py b/distribution/lib/DistUtils.py index 82916337630..8bbd1c7d15f 100644 --- a/distribution/lib/DistUtils.py +++ b/distribution/lib/DistUtils.py @@ -117,7 +117,9 @@ def checkGitVersion(): def getCommitForTag(tag): try: - commit = subprocess.check_output("git show --show-signature %s" % tag, shell = True) + p = os.popen("git show --show-signature %s" % tag) + commit = p.read() + p.close() if type(commit) != str: commit = commit.decode() commit = commit.split("\n")[0] |