mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 01:16:19 +00:00
refactor: Keep sub replacements' format uniform.
This commit is contained in:
committed by
Tim Abbott
parent
496158c2d7
commit
31c92cdcbc
@@ -152,9 +152,9 @@ class Command(makemessages.Command):
|
||||
# type: (str) -> str
|
||||
|
||||
# Removes multi line comments.
|
||||
data = re.sub(multiline_js_comment, "", data)
|
||||
data = multiline_js_comment.sub('', data)
|
||||
# Removes single line (//) comments.
|
||||
data = re.sub(singleline_js_comment, "", data)
|
||||
data = singleline_js_comment.sub('', data)
|
||||
return data
|
||||
|
||||
def get_translation_strings(self):
|
||||
|
||||
Reference in New Issue
Block a user