~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/controllers/atom_ui.py

  • Committer: Martin Albisetti
  • Date: 2010-01-11 14:17:45 UTC
  • mfrom: (358.2.5 foreign)
  • Revision ID: martin.albisetti@canonical.com-20100111141745-nlvfospyz1iqw9ev
Show svn/git/hg revision ids in loggerhead revision view. (Jelmer Vernooij)

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
        }