mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
fixes #1766: the message "least Python 2.6 to run" is at best misleading.
This commit is contained in:
parent
ea25342acc
commit
4e599c13da
1
CHANGES
1
CHANGES
@ -7,6 +7,7 @@ Bugs fixed
|
||||
* #1769: allows generating quickstart files/dirs for destination dir that
|
||||
doesn't overwrite existent files/dirs. Thanks to WAKAYAMA shirou.
|
||||
* #1773: sphinx-quickstart doesn't accept non-ASCII character as a option argument.
|
||||
* #1766: the message "least Python 2.6 to run" is at best misleading.
|
||||
|
||||
|
||||
Release 1.3 (released Mar 10, 2015)
|
||||
|
@ -55,7 +55,7 @@ def build_main(argv=sys.argv):
|
||||
"""Sphinx build "main" command-line entry."""
|
||||
if (sys.version_info[:3] < (2, 6, 0) or
|
||||
(3, 0, 0) <= sys.version_info[:3] < (3, 3, 0)):
|
||||
sys.stderr.write('Error: Sphinx requires at least Python 2.6 to run.\n')
|
||||
sys.stderr.write('Error: Sphinx requires at least Python 2.6 or 3.3 to run.\n')
|
||||
return 1
|
||||
try:
|
||||
from sphinx import cmdline
|
||||
|
Loading…
Reference in New Issue
Block a user