mirror of https://github.com/zulip/zulip.git
refactor: Keep sub replacements' format uniform.
This commit is contained in:
parent
496158c2d7
commit
31c92cdcbc
|
@ -152,9 +152,9 @@ class Command(makemessages.Command):
|
||||||
# type: (str) -> str
|
# type: (str) -> str
|
||||||
|
|
||||||
# Removes multi line comments.
|
# Removes multi line comments.
|
||||||
data = re.sub(multiline_js_comment, "", data)
|
data = multiline_js_comment.sub('', data)
|
||||||
# Removes single line (//) comments.
|
# Removes single line (//) comments.
|
||||||
data = re.sub(singleline_js_comment, "", data)
|
data = singleline_js_comment.sub('', data)
|
||||||
return data
|
return data
|
||||||
|
|
||||||
def get_translation_strings(self):
|
def get_translation_strings(self):
|
||||||
|
|
Loading…
Reference in New Issue