Changeset 616
- Timestamp:
- Jun 21, 2008, 6:41:20 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-remote-server/files/usr/sbin/sipb-xen-remote-listvms
r564 r616 36 36 for p in pipes: 37 37 if p.returncode != 0: 38 raise CalledProcessError(p.returncode, cmd)38 raise CalledProcessError(p.returncode, 'remctl') 39 39 results = [yaml.load(o, yaml.CSafeLoader) for o in outputs] 40 40 results = filter(lambda x: x is not None, results) … … 44 44 for result in results: 45 45 merged.update(result) 46 46 47 print yaml.dump(merged, Dumper=yaml.CSafeDumper, default_flow_style=False) 47 48
Note: See TracChangeset
for help on using the changeset viewer.