Mercurial > code > home > repos > homeauto
diff lib/twisted_sse_demo/sse_client.py @ 447:3d51d4b63497
patchsource py3 support. might break py2
Ignore-this: e7559afeb74ffa53bf2085f78455014
author | drewp@bigasterisk.com |
---|---|
date | Thu, 18 Apr 2019 21:58:19 -0700 |
parents | 7716b1810d6c |
children | a8073bcddd8b |
line wrap: on
line diff
--- a/lib/twisted_sse_demo/sse_client.py Thu Apr 18 16:55:52 2019 -0700 +++ b/lib/twisted_sse_demo/sse_client.py Thu Apr 18 21:58:19 2019 -0700 @@ -11,8 +11,7 @@ self.data = '' def lineLengthExceeded(self, line): - print "line too long" - raise NotImplementedError + raise NotImplementedError('line too long') def setFinishedDeferred(self, d): self.finished = d