parameters: (self, registered_portable_set)
return_statement: return globes_list
docstring: Gets portable globes list.
  
      Scans cutter/globes directory and sub-directories for all the glx files
      located there.  First checks for registered portables and ignores them;
      They are already added in _GetDatabaseList().
  
      Args:
        registered_portable_set: set of registered portable names.
      Returns:
        list of (unregistered) Portable globes.
docstring_summary: Gets portable globes list.
docstring_tokens: Gets portable globes list .
function: def _GetPortableGlobesList(self, registered_portable_set):
      """Gets portable globes list.
  
      Scans cutter/globes directory and sub-directories for all the glx files
      located there.  First checks for registered portables and ignores them;
      They are already added in _GetDatabaseList().
  
      Args:
        registered_portable_set: set of registered portable names.
      Returns:
        list of (unregistered) Portable globes.
      """
  
      # Build a list of portable globes.
      globes_list = []
      root = constants.CUTTER_GLOBES_PATH
      for name in os.listdir(root):
        # Ignore globes that are registered.
        if name not in registered_portable_set:
          if os.path.isfile(os.path.join(root, name)):
            db_info = basic_types.DbInfo()
            db_info.name = name
            db_info.type = db_info.name[-3:]
            # Ignore files that are not Portables, eg .README
            if serve_utils.IsPortable(db_info.type):
              serve_utils.GlxDetails(db_info)
              if db_info.size > GLOBE_SIZE_THRESHOLD:
                globes_list.append(db_info)
          else:
            logger.warn( "%s is not a valid file and is being ignored." % os.path.join(root,name) )
  
      return globes_list
function_tokens: def _GetPortableGlobesList ( self , registered_portable_set ) : # Build a list of portable globes. globes_list = [ ] root = constants . CUTTER_GLOBES_PATH for name in os . listdir ( root ) : # Ignore globes that are registered. if name not in registered_portable_set : if os . path . isfile ( os . path . join ( root , name ) ) : db_info = basic_types . DbInfo ( ) db_info . name = name db_info . type = db_info . name [ - 3 : ] # Ignore files that are not Portables, eg .README if serve_utils . IsPortable ( db_info . type ) : serve_utils . GlxDetails ( db_info ) if db_info . size > GLOBE_SIZE_THRESHOLD : globes_list . append ( db_info ) else : logger . warn ( "%s is not a valid file and is being ignored." % os . path . join ( root , name ) ) return globes_list