Revision 0ed09c7c snf-pithos-backend/pithos/backends/modular.py

b/snf-pithos-backend/pithos/backends/modular.py
264 264
            if until is not None:
265 265
                meta.update({'until_timestamp': tstamp})
266 266
            meta.update({'name': account, 'count': count, 'bytes': bytes})
267
        if self.using_external_quotaholder:
268
            meta['bytes'] = external_quota.get('currValue', 0)
267
            if self.using_external_quotaholder:
268
                meta['bytes'] = external_quota.get('currValue', 0)
269 269
        meta.update({'modified': modified})
270 270
        return meta
271 271

  

Also available in: Unified diff