mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1218373 - [mozversion] Fix reference to mozlog to restore command line interface. r=ahalberstadt
This commit is contained in:
parent
c176fc94fe
commit
7459a1bbc7
@ -316,16 +316,16 @@ def cli(args=sys.argv[1:]):
|
||||
fxos.add_argument(
|
||||
'--adb-port',
|
||||
help='port running adb')
|
||||
structured.commandline.add_logging_group(
|
||||
mozlog.commandline.add_logging_group(
|
||||
parser,
|
||||
include_formatters=structured.commandline.TEXT_FORMATTERS
|
||||
include_formatters=mozlog.commandline.TEXT_FORMATTERS
|
||||
)
|
||||
|
||||
args = parser.parse_args()
|
||||
dm_type = os.environ.get('DM_TRANS', 'adb')
|
||||
host = os.environ.get('TEST_DEVICE')
|
||||
|
||||
structured.commandline.setup_logging(
|
||||
mozlog.commandline.setup_logging(
|
||||
'mozversion', args, {'mach': sys.stdout})
|
||||
|
||||
get_version(binary=args.binary,
|
||||
|
Loading…
Reference in New Issue
Block a user