mirror of
https://github.com/tendermint/tendermint.git
synced 2026-02-03 18:42:14 +00:00
python fixes, tests
This commit is contained in:
@@ -6,6 +6,7 @@ class BytesReader():
|
||||
|
||||
def read(self, n):
|
||||
if len(self.buf) < n:
|
||||
print "reader err: buf less than n"
|
||||
# TODO: exception
|
||||
return
|
||||
r = self.buf[:n]
|
||||
|
||||
Reference in New Issue
Block a user