# HG changeset patch # User Shawn Walker # Date 1259886122 21600 # Node ID 223040b7211959e28e11b5e20070db023fbcbf50 # Parent c97893ed7cd44754a6f462d1c99404d4068ab58f 13039 various install/update operations can traceback if nothing to do diff -r c97893ed7cd4 -r 223040b72119 src/client.py --- a/src/client.py Thu Dec 03 15:25:43 2009 -0800 +++ b/src/client.py Thu Dec 03 18:22:02 2009 -0600 @@ -767,6 +767,7 @@ if api_inst == None: return EXIT_OOPS + stuff_to_do = None try: stuff_to_do = api_inst.plan_change_varcets(variants, facets=None, noexecute=noexecute, verbose=verbose, be_name=be_name) @@ -853,6 +854,7 @@ if api_inst == None: return EXIT_OOPS + stuff_to_do = None try: stuff_to_do = api_inst.plan_change_varcets(variants=None, facets=facets, noexecute=noexecute, verbose=verbose, @@ -922,6 +924,7 @@ if api_inst == None: return EXIT_OOPS + stuff_to_do = opensolaris_image = None try: stuff_to_do, opensolaris_image = \ api_inst.plan_update_all(sys.argv[0], refresh_catalogs, @@ -999,6 +1002,7 @@ if api_inst == None: return EXIT_OOPS + stuff_to_do = None try: stuff_to_do = api_inst.plan_install(pargs, refresh_catalogs, noexecute, verbose=verbose,