def __update_loaders(z):
 non_local['loaders'] = []
 for filename in z.namelist():
  if (not isinstance(filename, str_cls)):
   filename = filename.decode('utf-8')
  non_local['loaders'].append(filename)

def __update_loaders ( z ) : non_local [ 'loaders' ] = [ ] for filename in z . namelist ( ) : if ( not isinstance ( filename , str_cls ) ) : filename = filename . decode ( 'utf-8' ) non_local [ 'loaders' ] . append ( filename )
updates the cached list of loaders from a zipfile .