##// END OF EJS Templates
always add a trailing newline
Bart Skowron -
Show More
@@ -571,7 +571,6 b' class TransformerManager:'
571 The number of spaces by which to indent the next line of code. If
571 The number of spaces by which to indent the next line of code. If
572 status is not 'incomplete', this is None.
572 status is not 'incomplete', this is None.
573 """
573 """
574 if not cell.endswith('\n'):
575 cell += '\n' # Ensure the cell has a trailing newline
574 cell += '\n' # Ensure the cell has a trailing newline
576 lines = cell.splitlines(keepends=True)
575 lines = cell.splitlines(keepends=True)
577 if lines[-1][:-1].endswith('\\'):
576 if lines[-1][:-1].endswith('\\'):
General Comments 0
You need to be logged in to leave comments. Login now