~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/controllers/atom_ui.py

  • Committer: Matt Nordhoff
  • Date: 2009-10-17 06:19:40 UTC
  • mto: (329.2.2 trailing-whitespace)
  • mto: This revision was merged to the branch mainline in revision 392.
  • Revision ID: mnordhoff@mattnordhoff.com-20091017061940-w9tcvy0xs1irno3y
Some random PEP 8 and otehr stylistic changes.

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
        }