From: SourceForge.net <no...@so...> - 2012-12-30 21:48:09
|
Bugs item #3598893, was opened at 2012-12-29 15:09 Message generated for change (Comment added) made by arfrever You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=422030&aid=3598893&group_id=38414 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Arfrever (arfrever) Assigned to: Nobody/Anonymous (nobody) Summary: --stylesheet and --stylesheet-path options broken Initial Comment: --stylesheet and --stylesheet-path options in Docutils 0.10 are broken with Python 2. This bug does not occur with Python 3. $ PYTHONPATH="." python2.7 tools/buildhtml.py --stylesheet-path=docutils/writers/html4css1/html4css1.css Usage ===== buildhtml.py [options] [<directory> ...] buildhtml.py: error: Error in option "--stylesheet-path": AttributeError: 'str' object has no attribute 'pop' ---------------------------------------------------------------------- >Comment By: Arfrever (arfrever) Date: 2012-12-30 13:48 Message: The attached patch fixes this bug. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=422030&aid=3598893&group_id=38414 |