From 7285a3bf5a03e65dfbf1db94cf2e0c3d23d69982 Mon Sep 17 00:00:00 2001 From: Jason Paryani Date: Thu, 19 Sep 2013 14:43:21 -0700 Subject: [PATCH] Remove debugging print statements from to_dict --- capnp/capnp.pyx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/capnp/capnp.pyx b/capnp/capnp.pyx index 9dc092e..6d167be 100644 --- a/capnp/capnp.pyx +++ b/capnp/capnp.pyx @@ -429,13 +429,10 @@ cdef _setDynamicField(_DynamicSetterClasses thisptr, field, value, parent): cdef _to_dict(msg): msg_type = type(msg) - print msg_type if msg_type is _DynamicListBuilder or msg_type is _DynamicListReader or msg_type is _DynamicResizableListBuilder: - print 'in list' return [_to_dict(x) for x in msg] if msg_type is _DynamicStructBuilder or msg_type is _DynamicStructReader: - print 'in struct' ret = {} try: which = msg.which() @@ -445,7 +442,6 @@ cdef _to_dict(msg): pass for field in msg.schema.non_union_fields: - print field if msg._has(field): ret[field] = _to_dict(getattr(msg, field))