Changeset 1599d99 in rtems-docs


Ignore:
Timestamp:
02/27/19 22:16:57 (5 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
5, master
Children:
4407039
Parents:
9c3a383
Message:

waf: Fix python3 issues.

  • Found after updating to FreeBSD-12.0 which defaults to Python3.
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • posix-compliance/posix_rst.py

    r9c3a383 r1599d99  
    143143
    144144    def load(self, name):
    145         with open(name, 'rb') as f:
     145        with open(name, 'r') as f:
    146146            data = csv.reader(f, delimiter = ',', quotechar = '"')
    147147            hdr = None
  • wscript

    r9c3a383 r1599d99  
    88import waflib
    99
     10#
     11# Set Python's system path to `common` from the top level so the
     12# conf.py modules in subdirectories can be found. See xml_catalogue in
     13# common/waf.py.
     14#
     15sys.path.append(os.path.abspath('common'))
     16
    1017from common import waf as docs_waf
    1118from common import version
     
    1522#
    1623rtems_major_version = '5'
    17 
    18 #
    19 # Set Python's system path to `common` from the top level so the
    20 # conf.py modules in subdirectories can be found. See xml_catalogue in
    21 # common/waf.py.
    22 #
    23 sys.path.append(os.path.abspath('common'))
    2424
    2525#
Note: See TracChangeset for help on using the changeset viewer.