@util.positional(1)
def import_file_set(file_set, modules=None, _open=open):
 if isinstance(file_set, basestring):
  encoded_file = _open(file_set, 'rb')
  try:
   encoded_file_set = encoded_file.read()
  finally:
   encoded_file.close()
  file_set = protobuf.decode_message(descriptor.FileSet, encoded_file_set)
 for file_descriptor in file_set.files:
  if (not file_descriptor.package.startswith('protorpc.')):
   import_file(file_descriptor, modules=modules)

@ util . positional ( 1 ) def import_file_set ( file_set , modules = None , _open = open ) : if isinstance ( file_set , basestring ) : encoded_file = _open ( file_set , 'rb' ) try : encoded_file_set = encoded_file . read ( ) finally : encoded_file . close ( ) file_set = protobuf . decode_message ( descriptor . FileSet , encoded_file_set ) for file_descriptor in file_set . files : if ( not file_descriptor . package . startswith ( 'protorpc.' ) ) : import_file ( file_descriptor , modules = modules )
import fileset in to module space .