]> git.pld-linux.org Git - packages/python-Sphinx.git/blame - python-Sphinx-float-ver.patch
- resurrected, for old versions supporting python2
[packages/python-Sphinx.git] / python-Sphinx-float-ver.patch
CommitLineData
f5bd08f7
JB
1--- Sphinx-1.5.3/sphinx/application.py.orig 2017-03-05 07:46:30.349734431 +0100
2+++ Sphinx-1.5.3/sphinx/application.py 2017-03-05 08:33:32.339702213 +0100
3@@ -168,7 +168,7 @@
4 self.config.pre_init_values(self.warn)
5
6 # check the Sphinx version if requested
7- if self.config.needs_sphinx and self.config.needs_sphinx > sphinx.__display_version__:
8+ if self.config.needs_sphinx and str(self.config.needs_sphinx) > sphinx.__display_version__:
9 raise VersionRequirementError(
10 'This project needs at least Sphinx v%s and therefore cannot '
11 'be built with this version.' % self.config.needs_sphinx)
This page took 0.056146 seconds and 4 git commands to generate.