]> git.pld-linux.org Git - packages/python-Sphinx.git/blame_incremental - python-Sphinx-float-ver.patch
- release 2 (by relup.sh)
[packages/python-Sphinx.git] / python-Sphinx-float-ver.patch
... / ...
CommitLineData
1diff -urNp -x '*.orig' Sphinx-1.8.5.org/sphinx/application.py Sphinx-1.8.5/sphinx/application.py
2--- Sphinx-1.8.5.org/sphinx/application.py 2019-03-10 08:47:02.000000000 +0100
3+++ Sphinx-1.8.5/sphinx/application.py 2021-02-27 11:42:43.303622883 +0100
4@@ -209,7 +209,7 @@ class Sphinx(object):
5 self._init_i18n()
6
7 # check the Sphinx version if requested
8- if self.config.needs_sphinx and self.config.needs_sphinx > sphinx.__display_version__:
9+ if self.config.needs_sphinx and str(self.config.needs_sphinx) > sphinx.__display_version__:
10 raise VersionRequirementError(
11 __('This project needs at least Sphinx v%s and therefore cannot '
12 'be built with this version.') % self.config.needs_sphinx)
This page took 0.063358 seconds and 4 git commands to generate.