Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pyln: Do not rstrip() the return value of .append()
This was causing the following error ``` Exception in thread Thread-553: Traceback (most recent call last): File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner self.run() File "/usr/lib/python3.6/threading.py", line 864, in run self._target(*self._args, **self._kwargs) File "/tmp/cirrus-ci-build/contrib/pyln-testing/pyln/testing/utils.py", line 232, in tail self.err_logs.append(line.rstrip().decode('UTF-8', 'replace')).rstrip() AttributeError: 'NoneType' object has no attribute 'rstrip' [gw5] [ 33%] FAILED tests/test_misc.py::test_bitcoin_failure ``` Notice the second call to `.rstrip()` on the return value of `.append()`
- Loading branch information