l.s.u.s.SettingsAuditor : class documentation

Part of lp.scripts.utilities.settingsauditor View In Hierarchy

Reads the security.cfg file and collects errors.

We can't just use ConfigParser for this case, as we're doing our own specialized parsing--not interpreting the settings, but verifying.

Method __init__ Undocumented
Method audit Undocumented
Method error_data Undocumented
Method _getHeader Removes the header comments from the security file.
Method _strip Undocumented
Method _getSectionName Undocumented
Method _separateConfigBlocks Undocumented
Method _processBlocks Undocumented
Method _checkForDupes Undocumented
Method _getSetting Undocumented
def __init__(self, data):
Undocumented
def _getHeader(self):
Removes the header comments from the security file.

The comments at the start of the file aren't something we want to kill.

def _strip(self, data):
Undocumented
def _getSectionName(self, line):
Undocumented
def _separateConfigBlocks(self):
Undocumented
def _processBlocks(self):
Undocumented
def _checkForDupes(self, data, label):
Undocumented
def _getSetting(self, line):
Undocumented
def audit(self):
Undocumented
@property
def error_data(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.