def _load_file(self, filename):
    "Configuration file --> keyword list\n\n        The method load a configuration file and\n        extract all valid keyword-keyvalue-comment information\n        from it. The keyword-keyvalue pairs are\n        organized and returned as a list of\n        configuration key objects.\n\n        @param filename: name of the configuration file\n        @type filename: String\n\n        @return: list of ConfKey's\n        @rtype: [ConfKey]\n        "
    keylist = []
    fopen = open(filename, 'r')
    for line in fopen:
        str_line = line.strip()
        if (len(str_line) and (str_line[0] != '#')):
            keylist.append(self._key_from_line(str_line))
    fopen.close()
    return keylist
Configuration file --> keyword list

The method load a configuration file and
extract all valid keyword-keyvalue-comment information
from it. The keyword-keyvalue pairs are
organized and returned as a list of
configuration key objects.

@param filename: name of the configuration file
@type filename: String

@return: list of ConfKey's
@rtype: [ConfKey]
def _load_file(self, filename):
    "Configuration file --> keyword list\n\n        The method load a configuration file and\n        extract all valid keyword-keyvalue-comment information\n        from it. The keyword-keyvalue pairs are\n        organized and returned as a list of\n        configuration key objects.\n\n        @param filename: name of the configuration file\n        @type filename: String\n\n        @return: list of ConfKey's\n        @rtype: [ConfKey]\n        "
    keylist = []
    fopen = open(filename, 'r')
    for line in fopen:
        str_line = line.strip()
        if (len(str_line) and (str_line[0] != '#')):
            keylist.append(self._key_from_line(str_line))
    fopen.close()
    return keylist