Bug 1218373 - [mozversion] Fix reference to mozlog to restore command line interface. r=ahalberstadt
authorDave Hunt <dhunt@mozilla.com>
Mon, 26 Oct 2015 06:13:00 +0100
changeset 269625 f1f6a7ae585eb6ed1eb6caebdf4e491fbfa87fd4
parent 269624 0bdbbc7673c5c6f8a6223424e3ac386d2d1675bb
child 269701 66d59599465c708d4dc985c774c99ccc26aca69d
push id67154
push usercbook@mozilla.com
push dateTue, 27 Oct 2015 08:52:55 +0000
treeherdermozilla-inbound@f1f6a7ae585e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersahalberstadt
bugs1218373
milestone44.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1218373 - [mozversion] Fix reference to mozlog to restore command line interface. r=ahalberstadt
testing/mozbase/mozversion/mozversion/mozversion.py
--- a/testing/mozbase/mozversion/mozversion/mozversion.py
+++ b/testing/mozbase/mozversion/mozversion/mozversion.py
@@ -311,26 +311,26 @@ def cli(args=sys.argv[1:]):
         '--device',
         help='serial identifier of device to target')
     fxos.add_argument(
         '--adb-host',
         help='host running adb')
     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,
                 sources=args.sources,
                 dm_type=dm_type,
                 host=host,
                 device_serial=args.device,
                 adb_host=args.adb_host,