"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "sahara/db/sqlalchemy/api.py" between
sahara-14.0.0.tar.gz and sahara-15.0.0.tar.gz

About: OpenStack Sahara provides an ability to provision, start, shutdown, scale Hadoop cluster on OpenStack.
The "Xena" series (latest release).

api.py  (sahara-14.0.0):api.py  (sahara-15.0.0)
skipping to change at line 1472 skipping to change at line 1472
if not cluster: if not cluster:
raise ex.NotFoundException( raise ex.NotFoundException(
cluster_id, _("Cluster id '%s' not found!")) cluster_id, _("Cluster id '%s' not found!"))
verification = m.ClusterVerification() verification = m.ClusterVerification()
values['cluster_id'] = cluster_id values['cluster_id'] = cluster_id
verification.update(values) verification.update(values)
session.add(verification) session.add(verification)
return verification return _cluster_verification_get(context, session, verification.id)
def cluster_verification_update(context, verification_id, values): def cluster_verification_update(context, verification_id, values):
session = get_session() session = get_session()
with session.begin(): with session.begin():
verification = _cluster_verification_get( verification = _cluster_verification_get(
context, session, verification_id) context, session, verification_id)
if not verification: if not verification:
raise ex.NotFoundException( raise ex.NotFoundException(
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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