This commit is contained in:
Jamie Hardt
2024-07-01 22:34:36 -07:00
parent afffe213e3
commit 17bbfccb7e
4 changed files with 27 additions and 28 deletions

View File

@@ -191,7 +191,6 @@ they appear in the batchfile.
self.env.revert_onces() self.env.revert_onces()
self.env.clear_file_keys() self.env.clear_file_keys()
while True: while True:
self.env.set_file_keys(line) self.env.set_file_keys(line)

View File

@@ -2,6 +2,7 @@
mfbatch util - utility functions mfbatch util - utility functions
""" """
def readline_with_escaped_newlines(f): def readline_with_escaped_newlines(f):
""" """
A readline line generator, except lines ending with a backslash will be A readline line generator, except lines ending with a backslash will be
@@ -22,6 +23,5 @@ def readline_with_escaped_newlines(f):
line = line[:-1] line = line[:-1]
continue continue
else:
yield line, line_no yield line, line_no
line = '' line = ''