Revision 8ed3f04c snf-pithos-backend/pithos/backends/modular.py

b/snf-pithos-backend/pithos/backends/modular.py
1278 1278
    # Reporting functions.
1279 1279

  
1280 1280
    def _report_size_change(self, user, account, size, details={}):
1281
        if size == 0:
1282
            return
1283

  
1281 1284
        account_node = self._lookup_account(account, True)[1]
1282 1285
        total = self._get_statistics(account_node)[1]
1283 1286
        details.update({'user': user, 'total': total})

Also available in: Unified diff