mirror of
https://github.com/iluvcapra/mfbatch.git
synced 2025-12-31 08:50:51 +00:00
pylint
This commit is contained in:
@@ -1,6 +1,12 @@
|
|||||||
# util.py
|
"""
|
||||||
|
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
|
||||||
|
combined with their successor.
|
||||||
|
"""
|
||||||
line = ''
|
line = ''
|
||||||
line_no = 0
|
line_no = 0
|
||||||
while True:
|
while True:
|
||||||
|
|||||||
Reference in New Issue
Block a user