projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: use os.rename instead of os.replace in lttng_live_server.py
[babeltrace.git]
/
tests
/
data
/
plugins
/
src.ctf.lttng-live
/
lttng_live_server.py
diff --git
a/tests/data/plugins/src.ctf.lttng-live/lttng_live_server.py
b/tests/data/plugins/src.ctf.lttng-live/lttng_live_server.py
index 416f9bca1eda60c8d9362b91c7566057f230a7b2..a30dbc4657c79d65bead37cc264b49da8f9cf370 100644
(file)
--- a/
tests/data/plugins/src.ctf.lttng-live/lttng_live_server.py
+++ b/
tests/data/plugins/src.ctf.lttng-live/lttng_live_server.py
@@
-1339,7
+1339,7
@@
class LttngLiveServer:
print(self._server_port, end='', file=tmp_port_file)
# Rename temporary file to real file
print(self._server_port, end='', file=tmp_port_file)
# Rename temporary file to real file
- os.re
nam
e(tmp_port_file.name, port_filename)
+ os.re
plac
e(tmp_port_file.name, port_filename)
logging.info(
'Renamed port file: src-path="{}", dst-path="{}"'.format(
tmp_port_file.name, port_filename
logging.info(
'Renamed port file: src-path="{}", dst-path="{}"'.format(
tmp_port_file.name, port_filename
This page took
0.023764 seconds
and
4
git commands to generate.