~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/controllers/atom_ui.py

[rs=mwhudson] update to loggerhead trunk,
        mostly because of bug 382765 ("history.py uses deprecated (and
        deleted) ProgressBarStack")

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
        }