def uniconvertl(l, e):
 r = []
 try:
  for s in l:
   r.append(uniconvert(s, e))
 except UnicodeError:
  raise UnicodeError(('bad filename: ' + os.path.join(l)))
 return r

def uniconvertl ( l , e ) : r = [ ] try : for s in l : r . append ( uniconvert ( s , e ) ) except UnicodeError : raise UnicodeError ( ( 'bad filename: ' + os . path . join ( l ) ) ) return r
convert a pathlist to a list of strings encoded in encoding "e" using uniconvert .