Merge pull request #41940 from madmiraal/remove-duplicate-definitions

Remove duplicate or unnecessary Python definitions.
This commit is contained in:
Rémi Verschelde 2020-09-10 10:05:17 +02:00 committed by GitHub
commit f19c400bed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 7 deletions

View file

@ -70,7 +70,6 @@ def _write_message(msgctx, msg, msg_plural, location):
def _add_additional_location(msgctx, msg, location):
global main_po
# Add additional location to previous occurrence.
msg_pos = -1
if msgctx != "":
msg_pos = main_po.find('\nmsgctxt "' + msgctx + '"\nmsgid "' + msg + '"')
else:
@ -86,7 +85,6 @@ def _write_translator_comment(msgctx, msg, translator_comment):
return
global main_po
msg_pos = -1
if msgctx != "":
msg_pos = main_po.find('\nmsgctxt "' + msgctx + '"\nmsgid "' + msg + '"')
else:

View file

@ -211,11 +211,6 @@ def build_raw_header(filename):
fd.close()
def build_rd_headers(target, source, env):
for x in source:
build_rd_header(str(x))
def build_raw_headers(target, source, env):
for x in source:
build_raw_header(str(x))