Part of twisted.runner.inetdconf View Source View In Hierarchy
Known subclasses: twisted.runner.inetdconf.InetdConf, twisted.runner.inetdconf.RPCServicesConf, twisted.runner.inetdconf.ServicesConf
Filters out comments and empty lines (which includes lines that only contain comments).
To use this class, override parseLine or parseFields.
Method | parseFile | Parse a configuration file |
Method | parseLine | Override this. |
Method | parseFields | Override this. |
If file is None and self.defaultFilename is set, it will open defaultFilename and use it.
By default, this will split the line on whitespace and call self.parseFields (catching any errors).