diff options
author | Ed Bartosh <eduard.bartosh@intel.com> | 2015-02-01 16:22:20 +0200 |
---|---|---|
committer | Ed Bartosh <eduard.bartosh@intel.com> | 2015-02-03 13:52:19 +0200 |
commit | 9ca8c63af3f92f2c7d71d119ef7ef7f2a735f2ac (patch) | |
tree | 42acaf67d6daf61913bfe4b260aabee3ae39d574 | |
parent | a03832111e1d743781209e026197560e3e2e2c53 (diff) | |
download | repa-9ca8c63af3f92f2c7d71d119ef7ef7f2a735f2ac.tar.gz repa-9ca8c63af3f92f2c7d71d119ef7ef7f2a735f2ac.tar.bz2 repa-9ca8c63af3f92f2c7d71d119ef7ef7f2a735f2ac.zip |
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 <eduard.bartosh@intel.com>
-rwxr-xr-x | repa/show.py | 6 |
1 files 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())) |