Update path arguments to use type='path'
The new convention is type='path' instead of type=osutils.ExpandPath.
BUG=none
TEST=none
Change-Id: I9f9a57f669c41a755710ca2bfaa1faf11e97d7a2
Reviewed-on: https://chromium-review.googlesource.com/273669
Trybot-Ready: Michael Spang <spang@chromium.org>
Tested-by: Michael Spang <spang@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Michael Spang <spang@chromium.org>
diff --git a/scripts/cros_generate_sysroot.py b/scripts/cros_generate_sysroot.py
index 36e9791..569dd9c 100644
--- a/scripts/cros_generate_sysroot.py
+++ b/scripts/cros_generate_sysroot.py
@@ -30,7 +30,7 @@
help=('The board to generate the sysroot for.'))
parser.add_argument('--package', required=True,
help=('The package to generate the sysroot for.'))
- parser.add_argument('--out-dir', type=osutils.ExpandPath, required=True,
+ parser.add_argument('--out-dir', type='path', required=True,
help='Directory to place the generated tarball.')
parser.add_argument('--out-file',
help=('The name to give to the tarball. Defaults to %r.'