(self, filenames)
return files_read
Read and parse a filename or a list of filenames.

        Files that cannot be opened are silently ignored; this is
        designed so that you can specify a list of potential
        configuration file locations (e.g. current directory, user's
        home directory, systemwide directory), and all existing
        configuration files in the list will be read.  A single
        filename may also be given.
Read and parse a filename or a list of filenames.
Read and parse a filename or a list of filenames .
def read(self, filenames):
        """Read and parse a filename or a list of filenames.

        Files that cannot be opened are silently ignored; this is
        designed so that you can specify a list of potential
        configuration file locations (e.g. current directory, user's
        home directory, systemwide directory), and all existing
        configuration files in the list will be read.  A single
        filename may also be given.
        """
        files_read = []
        if isinstance(filenames, basestring):
            filenames = [filenames]
        for filename in filenames:
            try:
                fp = open(filename)
            except IOError:
                continue
            files_read.append(filename)
            self.data._readfp(fp)
            fp.close()
        return files_read
def read ( self , filenames ) : files_read = [ ] if isinstance ( filenames , basestring ) : filenames = [ filenames ] for filename in filenames : try : fp = open ( filename ) except IOError : continue files_read . append ( filename ) self . data . _readfp ( fp ) fp . close ( ) return files_read