def _fix_violations(self, oFile): for iLineNumber in self.violations[::-1]: fix.insert_blank_line_above(self, oFile, iLineNumber)
def _fix_violations(self, oFile): for dViolation in self.violations[::-1]: fix.insert_blank_line_above(self, oFile, dViolation['lineNumber'])
def _fix_violations(self, oFile): for dViolation in self.violations[::-1]: fix.insert_blank_line_above( self, oFile, utils.get_violation_line_number(dViolation))
def _fix_violations(self, oFile): for dViolation in self.violations[::-1]: iLineNumber = utils.get_violation_line_number(dViolation) fix.insert_blank_line_above(self, oFile, iLineNumber) oFile.lines[iLineNumber].insideProcess = True
def _fix_violations(self, oFile): for iLineNumber in self.violations[::-1]: fix.insert_blank_line_above(self, oFile, iLineNumber) oFile.lines[iLineNumber].insideProcess = True