def _parse_proplist(data):
 out = {}
 for line in data.split('\n'):
  line = re.split('\\s+', line, 1)
  if (len(line) == 2):
   out[line[0]] = line[1]
 return out

def _parse_proplist ( data ) : out = { } for line in data . split ( '\n' ) : line = re . split ( '\\s+' , line , 1 ) if ( len ( line ) == 2 ) : out [ line [ 0 ] ] = line [ 1 ] return out
parse properties list .