"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "freezer/scheduler/freezer_scheduler.py" between
freezer-9.0.0.tar.gz and freezer-10.0.0.tar.gz

About: OpenStack Freezer is a tool to automate (incremental) data backup and restore process using OpenStack Swift and/or other media storage.
The "Wallaby" series (latest release).

freezer_scheduler.py  (freezer-9.0.0):freezer_scheduler.py  (freezer-10.0.0)
skipping to change at line 208 skipping to change at line 208
arguments.parse_args(possible_actions) arguments.parse_args(possible_actions)
arguments.setup_logging() arguments.setup_logging()
if CONF.action not in possible_actions: if CONF.action not in possible_actions:
CONF.print_help() CONF.print_help()
return 65 # os.EX_DATAERR return 65 # os.EX_DATAERR
apiclient = None apiclient = None
if CONF.no_api is False: if CONF.no_api is False:
try: try:
opts = client_utils.Namespace({})
opts.opts = CONF
if CONF.enable_v1_api: if CONF.enable_v1_api:
apiclient = client_utils.get_client_instance(opts=CONF, apiclient = client_utils.get_client_instance(opts=opts,
api_version='1') api_version='1')
else: else:
apiclient = client_utils.get_client_instance(opts=CONF, apiclient = client_utils.get_client_instance(opts=opts,
api_version='2') api_version='2')
if CONF.client_id: if CONF.client_id:
apiclient.client_id = CONF.client_id apiclient.client_id = CONF.client_id
except Exception as e: except Exception as e:
LOG.error(e) LOG.error(e)
print(e) print(e)
sys.exit(1) sys.exit(1)
else: else:
if winutils.is_windows(): if winutils.is_windows():
 End of changes. 3 change blocks. 
2 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)