зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1684584: do not encode `topobjdir` before printing to screen during clobber r=firefox-build-system-reviewers,mhentges
Since the printed value is a `str` anyways, this causes the converted `bytes` to be printed to the terminal as `b'/path/to/topobjdir'`. Just print the `str` version to the screen instead. Differential Revision: https://phabricator.services.mozilla.com/D100792
This commit is contained in:
Родитель
924465d3c7
Коммит
0e3bf9f599
|
@ -228,8 +228,7 @@ class Clobberer(object):
|
|||
),
|
||||
)
|
||||
|
||||
objdir = self.topobjdir.encode("utf-8", "replace")
|
||||
print("Automatically clobbering %s" % objdir, file=fh)
|
||||
print("Automatically clobbering %s" % self.topobjdir, file=fh)
|
||||
try:
|
||||
self.remove_objdir(False)
|
||||
print("Successfully completed auto clobber.", file=fh)
|
||||
|
|
Загрузка…
Ссылка в новой задаче