Merge pull request #23 from dirkmueller/python26x
Fix doc build with Python 2.6.x
This commit is contained in:
commit
6608290ceb
@ -54,7 +54,8 @@ copyright = u'%s, DreamHost' % datetime.date.today().year
|
||||
# built documents.
|
||||
#
|
||||
# The short X.Y version.
|
||||
version = subprocess.check_output(['sh', '-c', 'cd ../..; python setup.py --version'])
|
||||
version = subprocess.Popen(['sh', '-c', 'cd ../..; python setup.py --version'],
|
||||
stdout=subprocess.PIPE).stdout.read()
|
||||
version = version.strip()
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = version
|
||||
|
Loading…
x
Reference in New Issue
Block a user