예제 #1
0
 def _fix_violations(self, oFile):
     for iLineNumber in self.violations[::-1]:
         fix.insert_blank_line_above(self, oFile, iLineNumber)
예제 #2
0
 def _fix_violations(self, oFile):
     for dViolation in self.violations[::-1]:
         fix.insert_blank_line_above(self, oFile, dViolation['lineNumber'])
예제 #3
0
 def _fix_violations(self, oFile):
     for dViolation in self.violations[::-1]:
         fix.insert_blank_line_above(
             self, oFile, utils.get_violation_line_number(dViolation))
예제 #4
0
 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
예제 #5
0
 def _fix_violations(self, oFile):
     for iLineNumber in self.violations[::-1]:
         fix.insert_blank_line_above(self, oFile, iLineNumber)
         oFile.lines[iLineNumber].insideProcess = True