File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## [ Unreleased] [ unreleased ]
4
4
5
+ ### Fixed
6
+
7
+ * ACE interface no longer gives unnecessary error message when reading the run
8
+ info from the first line of output (#148 )
5
9
6
10
## [ v0.7.1] [ ]
7
11
Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ def _result_lines(self, termini=None):
182
182
# The 'run' note should appear when the process is opened, but
183
183
# handle it here to avoid potential deadlocks if it gets buffered
184
184
elif s .startswith ('NOTE: tsdb run:' ):
185
- self ._read_run_info (s )
185
+ self ._read_run_info (s . rstrip () )
186
186
# the rest should be normal result lines
187
187
else :
188
188
lines .append (s .rstrip ())
@@ -517,10 +517,10 @@ def _make_response(lines, run):
517
517
def _sexpr_data (line ):
518
518
while line :
519
519
expr = SExpr .parse (line )
520
- line = expr .remainder
521
520
if len (expr .data ) != 2 :
522
521
logging .error ('Malformed output from ACE: {}' .format (line ))
523
522
break
523
+ line = expr .remainder
524
524
yield expr .data
525
525
526
526
You can’t perform that action at this time.
0 commit comments