/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to tools/rst2html.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-11-22 03:51:03 UTC
  • mfrom: (7192.5.2 remove-more-file-ids)
  • Revision ID: breezy.the.bot@gmail.com-20181122035103-1c5jnbdx2t5yujqb
Stop actually accepting optional file_id in many Tree methods.

Merged from https://code.launchpad.net/~jelmer/brz/remove-more-file-ids/+merge/358950

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
    # python-docutils 0.4-4 -- so monkeypatch in a better pattern
26
26
    #
27
27
    # This is a bit gross to patch because all this is built up at load time.
28
 
    Body.pats['optname'] = r'[a-zA-Z0-9][a-zA-Z0-9._-]*'    
 
28
    Body.pats['optname'] = r'[a-zA-Z0-9][a-zA-Z0-9._-]*'
29
29
    Body.pats['longopt'] = r'(--|/)%(optname)s([ =]%(optarg)s)?' % Body.pats
30
30
    Body.pats['option'] = r'(%(shortopt)s|%(longopt)s)' % Body.pats
31
31
    Body.patterns['option_marker'] = r'%(option)s(, %(option)s)*(  +| ?$)' % Body.pats