From eff793fc2f932288d7a23e8f003c8f6930bff816 Mon Sep 17 00:00:00 2001 From: Gregory Haynes Date: Thu, 6 Oct 2016 16:13:48 +0000 Subject: [PATCH] Remove deprecated expand-dependencies arg This argument has been deprecated in element-dependencies for some time. Removing in v2. Change-Id: I9e40ec7bef7afbebba3958043db46975ea7b24ff --- diskimage_builder/element_dependencies.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/diskimage_builder/element_dependencies.py b/diskimage_builder/element_dependencies.py index 402f6e671..dfae210f7 100644 --- a/diskimage_builder/element_dependencies.py +++ b/diskimage_builder/element_dependencies.py @@ -185,10 +185,6 @@ def main(): parser = argparse.ArgumentParser() parser.add_argument('elements', nargs='+', help='display dependencies of the given elements') - parser.add_argument('--expand-dependencies', '-d', action='store_true', - default=False, - help=('(DEPRECATED) print expanded dependencies ' - 'of all args')) parser.add_argument('--env', '-e', action='store_true', default=False, help=('Output eval-able bash strings for ' @@ -198,10 +194,6 @@ def main(): all_elements = find_all_elements() - if args.expand_dependencies: - logger.warning("expand-dependencies flag is deprecated, " - "and is now on by default.", file=sys.stderr) - elements = expand_dependencies(args.elements, all_elements) if args.env: