You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We revert this change, because the affected function is used in a number of places, some of which probably assume that there is a return at the end. This breaks the emulator. We will look at this issue again and find a better way to address it.
While working on the SCION layer I noticed that the Docker compiler adds an
extra newline to file contents set with
Node.setFile()
.The problem is in
seed-emulator/seedemu/compiler/Docker.py
Line 724 in 5125ccf
The file contents are staged with
print
which adds a newline at the end of what was printed.I would suggest changing the line to
print(content, end='', file=open(staged_path, 'w'))
to avoid the newline.
The text was updated successfully, but these errors were encountered: