~ubuntu-branches/ubuntu/natty/python3.1/natty-security

« back to all changes in this revision

Viewing changes to debian/pyhtml2devhelp.py

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2009-09-13 23:13:51 UTC
  • Revision ID: james.westby@ubuntu.com-20090913231351-ue0trzi0yq2t9upj
Tags: 3.1.1-0ubuntu3
* Update to the 3.1 release branch, 20090913.
* Fix title of devhelp document. LP: #423551.

Show diffs side-by-side

added added

removed removed

Lines of Context:
202
202
 
203
203
    parser = PyHTMLParser(formatter.NullFormatter(), base, fn, indent=0)
204
204
    print '<?xml version="1.0" encoding="iso-8859-1"?>'
205
 
    print '<book title="Python %s Documentation" name="Python" version="%s" link="index.html">' % (sys.version[:3], sys.version[:3])
 
205
    version = "3.1"
 
206
    print '<book title="Python %s Documentation" name="Python" version="%s" link="index.html">' % (sys.version[:3], version)
206
207
    print '<chapters>'
207
208
    parser.parse_file(fn)
208
209
    print '</chapters>'