~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/controllers/atom_ui.py

  • Committer: Michael Hudson
  • Date: 2009-04-23 23:39:18 UTC
  • mfrom: (324.3.4 358322-sql-dirs)
  • Revision ID: michael.hudson@canonical.com-20090423233918-r9i9q6gz0vs11ad4
fix bug #358322: only create one temporary sql dir per process (Matt Nordhoff)

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()
29
30
        pagesize = int(20)#self._branch.config.get('pagesize', '20'))
30
31
 
31
32
        revid_list = history.get_file_view(history.last_revid, None)
34
35
        headers['Content-Type'] = 'application/atom+xml'
35
36
        return {
36
37
            'changes': entries,
37
 
            'updated': entries[0].utc_date.isoformat(),
 
38
            'updated': entries[0].date.isoformat() + 'Z',
38
39
            'history': self._history,
39
40
        }