diff --git a/testmodule/jobfile.py b/testmodule/jobfile.py index ef0bbca..72d364f 100644 --- a/testmodule/jobfile.py +++ b/testmodule/jobfile.py @@ -41,7 +41,7 @@ def __repr__(self): + str(len(self.headlines)) + "\n" + "Number of program lines:\n\t" - + str(number_program_lines()) #except NOP, END and " " + + str(number_program_lines()) # except NOP, END and " " + "\n" + "Number of LVARS:\n\t" + str(len(self.LVARS)) @@ -49,7 +49,9 @@ def __repr__(self): return rep def number_program_lines(self): - return len([line for line in self.program_lines if not line in ["NOP", "END", ""]]) + return len( + [line for line in self.program_lines if not line in ["NOP", "END", ""]] + ) def read_LVARS(self): """Create a dictionary with the local variables."""