git.ucc.asn.au
/
progcomp2012.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Stopped "newline creep" in .html files
[progcomp2012.git]
/
progcomp
/
judge
/
simulator
/
simulate.py
diff --git
a/progcomp/judge/simulator/simulate.py
b/progcomp/judge/simulator/simulate.py
index
76ca0a5
..
5ad6448
100755
(executable)
--- a/
progcomp/judge/simulator/simulate.py
+++ b/
progcomp/judge/simulator/simulate.py
@@
-144,7
+144,7
@@
for agent in agents:
for line in oldFile:
if line.strip() == "</body>":
break
- agentFile.write(line + "\n")
+ agentFile.write(line
.strip()
+ "\n")
oldFile.close()
agentFile.close()
os.remove("tmpfile")
UCC
git Repository :: git.ucc.asn.au