shanxp / asciidoc

Automatically exported from code.google.com/p/asciidoc
GNU General Public License v2.0
0 stars 0 forks source link

Python 2.4 compatibility: Calling str.endswith with a tuple #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
a2x.py is not compatible with Python 2.4 (as is claimed in the installation 
instructions) because it uses str.endswith() with a tuple instead of a simple 
string as an argument. See 
http://code.google.com/p/asciidoc/source/browse/a2x.py#443. The signature 
accepting a tuple was introduced in Python 2.5, see 
http://docs.python.org/library/stdtypes.html#str.endswith.

Original issue reported on code.google.com by them...@gmail.com on 24 Feb 2012 at 1:13

GoogleCodeExporter commented 8 years ago

Original comment by srack...@gmail.com on 26 Feb 2012 at 4:37