parameters: (self, flagfile_str)
docstring: Returns filename from a flagfile_str of form -[-]flagfile=filename.
  
      The cases of --flagfile foo and -flagfile foo shouldn't be hitting
      this function, as they are dealt with in the level above this
      function.
docstring_summary: Returns filename from a flagfile_str of form -[-]flagfile=filename.
docstring_tokens: Returns filename from a flagfile_str of form - [ - ] flagfile = filename .
function: def ExtractFilename(self, flagfile_str):
      """Returns filename from a flagfile_str of form -[-]flagfile=filename.
  
      The cases of --flagfile foo and -flagfile foo shouldn't be hitting
      this function, as they are dealt with in the level above this
      function.
      """
      if flagfile_str.startswith('--flagfile='):
        return os.path.expanduser((flagfile_str[(len('--flagfile=')):]).strip())
      elif flagfile_str.startswith('-flagfile='):
        return os.path.expanduser((flagfile_str[(len('-flagfile=')):]).strip())
      else:
        raise FlagsError('Hit illegal --flagfile type: %s' % flagfile_str)
function_tokens: def ExtractFilename ( self , flagfile_str ) : if flagfile_str . startswith ( '--flagfile=' ) : return os . path . expanduser ( ( flagfile_str [ ( len ( '--flagfile=' ) ) : ] ) . strip ( ) ) elif flagfile_str . startswith ( '-flagfile=' ) : return os . path . expanduser ( ( flagfile_str [ ( len ( '-flagfile=' ) ) : ] ) . strip ( ) ) else : raise FlagsError ( 'Hit illegal --flagfile type: %s' % flagfile_str )