"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "zaqar/storage/sqlalchemy/queues.py" between
zaqar-9.0.0.tar.gz and zaqar-10.0.0.tar.gz

About: OpenStack Zaqar is a multi-tenant cloud messaging and notification service for web and mobile developers.
The "Ussuri" series (latest release).

queues.py  (zaqar-9.0.0):queues.py  (zaqar-10.0.0)
skipping to change at line 136 skipping to change at line 136
if project is None: if project is None:
project = '' project = ''
dlt = tables.Queues.delete().where(sa.and_( dlt = tables.Queues.delete().where(sa.and_(
tables.Queues.c.project == project, tables.Queues.c.project == project,
tables.Queues.c.name == name)) tables.Queues.c.name == name))
self.driver.run(dlt) self.driver.run(dlt)
def _stats(self, name, project): def _stats(self, name, project):
pass pass
def _calculate_resource_count(self, project=None):
if project is None:
project = ''
sel = sa.sql.select([sa.sql.func.count('*')],
tables.Queues.c.project == project)
res = self.driver.run(sel)
r = res.fetchone()
res.close()
return r is not None
 End of changes. 1 change blocks. 
0 lines changed or deleted 0 lines changed or added

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