Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar-network
diff options
context:
space:
mode:
Diffstat (limited to 'sugar-network')
-rwxr-xr-xsugar-network7
1 files changed, 5 insertions, 2 deletions
diff --git a/sugar-network b/sugar-network
index 8f07434..4fdf588 100755
--- a/sugar-network
+++ b/sugar-network
@@ -323,8 +323,11 @@ class Application(application.Application):
def porcelain_dump(value):
if type(value) is dict:
- for i in sorted(value.items()):
- print '%-18s%s' % i
+ if len(value) == 1 and 'guid' in value:
+ porcelain_dump(value['guid'])
+ else:
+ for i in sorted(value.items()):
+ print '%-18s%s' % i
else:
if type(value) not in (list, tuple):
value = [value]