Linting
This commit is contained in:
@@ -912,7 +912,7 @@ class Terminal(object):
|
|||||||
flags = re.MULTILINE | re.DOTALL
|
flags = re.MULTILINE | re.DOTALL
|
||||||
pattern = '<!--{token}(.*?){token}-->'.format(token=TOKEN)
|
pattern = '<!--{token}(.*?){token}-->'.format(token=TOKEN)
|
||||||
text = re.sub(pattern, '', text, flags=flags)
|
text = re.sub(pattern, '', text, flags=flags)
|
||||||
return re.sub('\A[\s\n]*\n', '', text, flags=flags).rstrip()
|
return re.sub(r'\A[\s\n]*\n', '', text, flags=flags).rstrip()
|
||||||
|
|
||||||
def clear_screen(self):
|
def clear_screen(self):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user