Lines Matching full:reply
48 def print_field(reply, *desc): argument
50 Pretty-print a set of fields from the reply. desc specifies the
53 if not reply:
57 print_field(reply, *zip(reply.keys(), reply.keys()))
67 value = reply.get(field, None)
107 reply = ynl.do(op_name, req)
108 if not reply:
112 pprint.PrettyPrinter().pprint(reply)
114 reply.pop('header', None)
115 return reply
246 reply = do_get(ynl, args, 'features-get')
247 available = bits_to_dict(reply['hw'])
248 requested = bits_to_dict(reply['wanted']).keys()
249 active = bits_to_dict(reply['active']).keys()
250 never_changed = bits_to_dict(reply['nochange']).keys()
273 reply = do_get(ynl, args, 'channels-get')
277 print_field(reply,
284 print_field(reply,
293 reply = do_get(ynl, args, 'channels-get')
298 print_field(reply,
305 print_field(reply,
311 print_field(reply,