forked from pool/python-stevedore
Accepting request 181149 from devel:languages:python
- add python-2.6.x.diff: * fix build on python 2.6 (forwarded request 181092 from dirkmueller) OBS-URL: https://build.opensuse.org/request/show/181149 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-stevedore?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
c2a8da16b2
commit
d07a8901bf
12
python-2.6.x.diff
Normal file
12
python-2.6.x.diff
Normal file
@@ -0,0 +1,12 @@
|
||||
--- docs/source/conf.py
|
||||
+++ docs/source/conf.py
|
||||
@@ -54,7 +54,8 @@
|
||||
# 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
|
Reference in New Issue
Block a user