interactive client: improve watch function
- watch is now a command, not a module method - finish watching with ctrl-C - watching an io module logs communication - add bin/frappy-cli to start interactive client + remove sorted function from StructOf.format_value Change-Id: I7dd707473e4534f2d39c5d6afc533c2d872380f8
This commit is contained in:
@@ -1035,7 +1035,7 @@ class StructOf(DataType):
|
||||
return self(dict(value))
|
||||
|
||||
def format_value(self, value, unit=None):
|
||||
return '{%s}' % (', '.join(['%s=%s' % (k, self.members[k].format_value(v)) for k, v in sorted(value.items())]))
|
||||
return '{%s}' % (', '.join(['%s=%s' % (k, self.members[k].format_value(v)) for k, v in value.items()]))
|
||||
|
||||
def compatible(self, other):
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user