chiark
/
gitweb
/
~ian
/
moebius3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
895c1cc
)
curveopt: fix handling of empty lines from findcurve
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 8 Apr 2018 15:26:53 +0000
(16:26 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 8 Apr 2018 16:18:10 +0000
(17:18 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
curveopt.py
patch
|
blob
|
history
diff --git
a/curveopt.py
b/curveopt.py
index 8825da568db8c789207b441c148de17f8c819f8c..00019762d8f20a01b1c5b93378fa544c8641c16f 100644
(file)
--- a/
curveopt.py
+++ b/
curveopt.py
@@
-85,9
+85,11
@@
class OptimisedCurve():
while True:
l = subproc.stdout.readline()
+ if not l:
+ oc._dbg('findcurve EOF')
+ vdbg().crashing('findcurve EOF')
l = l.rstrip()
oc._dbg('<< ' + l)
- if not l: vdbg().crashing('findcurve EOF')
if not l.startswith('['):
commentary += ' '
commentary += l