~ubuntu-branches/ubuntu/trusty/swift/trusty-updates

« back to all changes in this revision

Viewing changes to swift/common/middleware/recon.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2013-01-28 09:40:30 UTC
  • mfrom: (1.2.16)
  • Revision ID: package-import@ubuntu.com-20130128094030-aetz57x2qz9ye2d4
Tags: 1.7.6-0ubuntu1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
122
122
        """get replication info"""
123
123
        if recon_type == 'account':
124
124
            return self._from_recon_cache(['replication_time',
125
 
                                           'replication_stats'],
 
125
                                           'replication_stats',
 
126
                                           'replication_last'],
126
127
                                          self.account_recon_cache)
127
128
        elif recon_type == 'container':
128
129
            return self._from_recon_cache(['replication_time',
129
 
                                           'replication_stats'],
 
130
                                           'replication_stats',
 
131
                                           'replication_last'],
130
132
                                          self.container_recon_cache)
131
133
        elif recon_type == 'object':
132
 
            return self._from_recon_cache(['object_replication_time'],
 
134
            return self._from_recon_cache(['object_replication_time',
 
135
                                           'object_replication_last'],
133
136
                                          self.object_recon_cache)
134
137
        else:
135
138
            return None