зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1623765 - `mach watch` supports Python 3 r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D67927 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
0f451c772a
Коммит
c1c042cab7
1
mach
1
mach
|
@ -82,7 +82,6 @@ py2commands="
|
|||
valgrind-test
|
||||
visualmetrics
|
||||
warnings-list
|
||||
watch
|
||||
web-platform-tests
|
||||
web-platform-tests-update
|
||||
webidl-example
|
||||
|
|
|
@ -32,7 +32,7 @@ import pywatchman
|
|||
|
||||
def print_line(prefix, m, now=None):
|
||||
now = now or datetime.datetime.utcnow()
|
||||
print(b'[%s %sZ] %s' % (prefix, now.isoformat(), m))
|
||||
print('[%s %sZ] %s' % (prefix, now.isoformat(), m))
|
||||
|
||||
|
||||
def print_copy_result(elapsed, destdir, result, verbose=True):
|
||||
|
|
|
@ -84,7 +84,7 @@ class Watch(MachCommandBase):
|
|||
|
||||
self._activate_virtualenv()
|
||||
try:
|
||||
self.virtualenv_manager.install_pip_package('pywatchman==1.3.0')
|
||||
self.virtualenv_manager.install_pip_package('pywatchman==1.4.1')
|
||||
except Exception:
|
||||
print('Could not install pywatchman from pip. See '
|
||||
'https://developer.mozilla.org/docs/Mozilla/Developer_guide/Build_Instructions/Incremental_builds_with_filesystem_watching') # noqa
|
||||
|
|
Загрузка…
Ссылка в новой задаче