]>
Commit | Line | Data |
---|---|---|
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) |