def _fix_violations(self, oFile): for iLineNumber in self.violations[::-1]: fix.remove_blank_lines_above(self, oFile, iLineNumber, 'isEndCaseKeyword')
def _fix_violations(self, oFile): for iLineNumber in self.violations[::-1]: fix.remove_blank_lines_above(self, oFile, iLineNumber, self.sUnless)
def _fix_violations(self, oFile): for dViolation in self.violations[::-1]: iLineNumber = utils.get_violation_line_number(dViolation) fix.remove_blank_lines_above(self, oFile, iLineNumber, 'isEndCaseKeyword')
def _fix_violations(self, oFile): for dViolation in self.violations[::-1]: fix.remove_blank_lines_above(self, oFile, dViolation['lineNumber'], 'isEndCaseKeyword')
def _fix_violations(self, oFile): for dViolation in self.violations[::-1]: fix.remove_blank_lines_above(self, oFile, dViolation['lineNumber'], self.sUnless)
def _fix_violations(self, oFile): for dViolation in self.violations[::-1]: fix.remove_blank_lines_above( self, oFile, utils.get_violation_line_number(dViolation), self.sUnless)