~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/controllers/atom_ui.py

  • Committer: Danilo Segan
  • Date: 2011-08-17 12:53:09 UTC
  • mfrom: (454.1.1 bug-718566)
  • Revision ID: danilo@canonical.com-20110817125309-2r1fgcrqt5kr5h43
Remove FileChangeCache to resolve bug #718566 [r=jam].

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
    def get_values(self, path, kwargs, headers):
28
28
        history = self._history
29
 
        revid = self.get_revid()
30
29
        pagesize = int(20)#self._branch.config.get('pagesize', '20'))
31
30
 
32
31
        revid_list = history.get_file_view(history.last_revid, None)
35
34
        headers['Content-Type'] = 'application/atom+xml'
36
35
        return {
37
36
            'changes': entries,
38
 
            'updated': entries[0].date.isoformat() + 'Z',
 
37
            'updated': entries[0].utc_date.isoformat(),
39
38
            'history': self._history,
40
39
        }