From 9ca8c63af3f92f2c7d71d119ef7ef7f2a735f2ac Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Sun, 1 Feb 2015 16:22:20 +0200 Subject: show: Fixed forgotten old 'info' name 'info' subcommand was renamed to 'show' recently. However, 'info' is still used in the code. Renamed forgotten occurences of 'info' to 'show'. Change-Id: Ic53658f630e65f108a902b69f346c3e560e6e987 Signed-off-by: Ed Bartosh --- repa/show.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/repa/show.py b/repa/show.py index dab2eec..bc479a4 100755 --- a/repa/show.py +++ b/repa/show.py @@ -51,7 +51,7 @@ def get_status(results): return status -def info(obs, name, target): +def show(obs, name, target): """Print detailed info about submission or submitgroup.""" is_group = name.startswith('submitgroup/') _, meta, build_results = get_project_by_name(obs, name, target) @@ -122,8 +122,8 @@ class Show(object): def run(argv): """Command line entry point. Called from [sub_]main""" obs = OBS(argv.apiurl, argv.apiuser, argv.apipasswd) - return info(obs, argv.submission, argv.project) + return show(obs, argv.submission, argv.project) if __name__ == '__main__': - sys.exit(sub_main(sys.argv[1:], Info())) + sys.exit(sub_main(sys.argv[1:], Show())) -- cgit v1.2.3