def _usage_unallocated(raw):
 ret = {}
 for line in raw.split('\n')[1:]:
  keyset = re.sub('\\s+', ' ', line.strip()).split(' ')
  if (len(keyset) == 2):
   ret[keyset[0]] = keyset[1]
 return ret

def _usage_unallocated ( raw ) : ret = { } for line in raw . split ( '\n' ) [ 1 : ] : keyset = re . sub ( '\\s+' , ' ' , line . strip ( ) ) . split ( ' ' ) if ( len ( keyset ) == 2 ) : ret [ keyset [ 0 ] ] = keyset [ 1 ] return ret
parse usage/unallocated .