- try:
- name = bwlimit.get_slice(proc['xid'])
- if name is None:
- # Orphaned (not associated with a slice) class
- name = "%d?" % proc['xid']
- except Exception, err:
- print "Warning: Exception received while parsing vps output", err
- print proc
+ name = bwlimit.get_slice(proc['xid'])
+ if name is None:
+ # Orphaned (not associated with a slice) class
+ name = "%d?" % proc['xid']