Changeset c6870de in rtems-tools


Ignore:
Timestamp:
Sep 14, 2021, 3:17:24 PM (5 weeks ago)
Author:
Ryan Long <ryan.long@…>
Branches:
master
Children:
ad7b862
Parents:
323007a
git-author:
Ryan Long <ryan.long@…> (09/14/21 15:17:24)
git-committer:
Joel Sherrill <joel@…> (09/15/21 15:53:54)
Message:

check.py: Fix incorrect use of os.linesep

Replaced a couple of calls to os.linesep() with os.linesep because
os.linesep() does not exist.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tester/rt/check.py

    r323007a rc6870de  
    967967        filename = 'config-%s-%s-%s.ini' % (job.arch, job.bsp, job.build)
    968968        cfg_file = open(path.join(self.rtems, filename),'w+')
    969         cfg_file.write('[%s/%s]' + os.linsep() % (job.arch, job.bsp))
     969        cfg_file.write('[%s/%s]' % (job.arch, job.bsp) + os.linesep)
    970970        new_cfg_cmds = []
    971971        for option in commands['configure'].split():
     
    973973                new_cfg_cmds += [option]
    974974            else:
    975                 cfg_file.write(option + os.linesep())
     975                cfg_file.write(option + os.linesep)
    976976        commands['configure'] = ' '.join(new_cfg_cmds)
    977977        cfg_file.close()
Note: See TracChangeset for help on using the changeset viewer.