Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/user-guide/genhelp.py

    r1cef55f rad678a4  
    33# Usage: python genhelp.py input.xml output.txt
    44# (Both python2 (>=2.5) or python3 work)
    5 #
    6 # The shebang above isn't used, set the PYTHON environment variable
    7 # before running ./configure instead
    85
    96# This program is free software; you can redistribute it and/or
     
    2320
    2421
    25 import os
    2622import re
    2723import sys
     
    226222        return
    227223
    228     # ensure that we really are in the same directory as the input file
    229     os.chdir(os.path.dirname(os.path.abspath(sys.argv[1])))
    230 
    231224    txt = process_file(sys.argv[1])
    232225    open(sys.argv[2], "w").write(txt)
Note: See TracChangeset for help on using the changeset viewer.