~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-01 14:40:05 UTC
  • Revision ID: michael.hudson@canonical.com-20090401144005-trxdnfy5hd5wrd39
a quick dose of IE compatibility:
* ''.splice behaves differently
* io-queue doesn't seem to work, but isn't useful for me anyway...

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
        }