Skip to content

Commit

Permalink
Bug 1620744 - Convert jar_maker action to py3; r=firefox-build-system…
Browse files Browse the repository at this point in the history
…-reviewers,rstewart

Differential Revision: https://phabricator.services.mozilla.com/D65857
  • Loading branch information
mshal committed Mar 10, 2020
1 parent eaf5440 commit 74fc089
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,7 @@ endif
endif

libs realchrome:: $(FINAL_TARGET)/chrome
$(call py_action,jar_maker,\
$(call py3_action,jar_maker,\
$(QUIET) -d $(FINAL_TARGET) \
$(MAKE_JARS_FLAGS) $(DEFINES) $(ACDEFINES) \
$(JAR_MANIFEST))
Expand Down
2 changes: 1 addition & 1 deletion python/mozbuild/mozbuild/jar.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def __init__(self, name, zipfile):
def write(self, content):
'''Append the given content to this zip entry'''

self._inner.write(content)
self._inner.write(ensure_bytes(content))
return

def close(self):
Expand Down

0 comments on commit 74fc089

Please sign in to comment.