mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 11:52:01 +00:00
lint: Clean up W503 PEP-8 warning.
This commit is contained in:
@@ -104,8 +104,8 @@ def unwrap_lines(body):
|
||||
previous_line = lines[0]
|
||||
for line in lines[1:]:
|
||||
line = line.rstrip()
|
||||
if (re.match(r'^\W', line, flags=re.UNICODE)
|
||||
and re.match(r'^\W', previous_line, flags=re.UNICODE)):
|
||||
if (re.match(r'^\W', line, flags=re.UNICODE) and
|
||||
re.match(r'^\W', previous_line, flags=re.UNICODE)):
|
||||
result += previous_line + "\n"
|
||||
elif (line == "" or
|
||||
previous_line == "" or
|
||||
|
||||
Reference in New Issue
Block a user