author | Yuya Nishihara <yuya@tcha.org> |
Sun, 08 Apr 2018 11:23:55 +0900 | |
changeset 37474 | d33997123ea5 |
parent 37473 | 7c2c7c749411 |
child 37475 | 152f1b47e0ad |
--- a/mercurial/wireprotoframing.py Sun Apr 08 11:21:58 2018 +0900 +++ b/mercurial/wireprotoframing.py Sun Apr 08 11:23:55 2018 +0900 @@ -19,6 +19,7 @@ cbor, ) from . import ( + encoding, error, util, ) @@ -142,6 +143,7 @@ flags = attr.ib() payload = attr.ib() + @encoding.strmethod def __repr__(self): typename = '<unknown 0x%02x>' % self.typeid for name, value in FRAME_TYPES.iteritems():