]>
Commit | Line | Data |
---|---|---|
1420d802 JR |
1 | diff -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() | |
f5bd08f7 JB |
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( | |
1420d802 JR |
11 | __('This project needs at least Sphinx v%s and therefore cannot ' |
12 | 'be built with this version.') % self.config.needs_sphinx) |