diff options
author | Ryan Long <ryan.long@oarcorp.com> | 2021-09-14 11:17:24 -0400 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2021-09-15 10:53:54 -0500 |
commit | c6870de7923a07d4a1293a0268574df9103316a1 (patch) | |
tree | 137878211d836a2bc18f0b0e5ca85f41efd55908 /tester | |
parent | tester: Add MicroBlaze KCU105 QEMU BSP (diff) | |
download | rtems-tools-c6870de7923a07d4a1293a0268574df9103316a1.tar.bz2 |
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.
Diffstat (limited to 'tester')
-rwxr-xr-x | tester/rt/check.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tester/rt/check.py b/tester/rt/check.py index 95fa47e..c01c25d 100755 --- a/tester/rt/check.py +++ b/tester/rt/check.py @@ -966,13 +966,13 @@ class builder: def _create_config(self, job, commands): filename = 'config-%s-%s-%s.ini' % (job.arch, job.bsp, job.build) cfg_file = open(path.join(self.rtems, filename),'w+') - cfg_file.write('[%s/%s]' + os.linsep() % (job.arch, job.bsp)) + cfg_file.write('[%s/%s]' % (job.arch, job.bsp) + os.linesep) new_cfg_cmds = [] for option in commands['configure'].split(): if 'waf' in option or '--' in option or 'configure' in option: new_cfg_cmds += [option] else: - cfg_file.write(option + os.linesep()) + cfg_file.write(option + os.linesep) commands['configure'] = ' '.join(new_cfg_cmds) cfg_file.close() |