Skip to content

Commit

Permalink
Do not execute contribs.py for python 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelle committed Dec 26, 2015
1 parent b89022c commit 1bb0f58
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doc/release/contribs.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@

tag = sys.argv[1]

_python_version_str = '{0.major}.{0.minor}'.format(sys.version_info)

if _python_version_str >= '2.7':
if not sys.version_info[:2] == (2, 6):

def call(cmd):
return subprocess.check_output(shlex.split(cmd), universal_newlines=True).split('\n')
Expand Down

0 comments on commit 1bb0f58

Please sign in to comment.