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