~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/controllers/changelog_ui.py

  • Committer: Jelmer Vernooij
  • Date: 2009-06-02 00:09:55 UTC
  • mto: (359.3.1 hpss-writes)
  • mto: This revision was merged to the branch mainline in revision 367.
  • Revision ID: jelmer@samba.org-20090602000955-91nohd46pktp8j8k
Support serving branches over HTTP using the smart server protocol.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#
2
 
# Copyright (C) 2008, 2009 Canonical Ltd.
3
2
# Copyright (C) 2006  Robey Pointer <robey@lag.net>
4
3
# Copyright (C) 2006  Goffredo Baroncelli <kreijack@inwind.it>
5
4
#
89
88
                self._branch.is_root,
90
89
                'changes'))
91
90
 
92
 
        show_tag_col = False
93
 
        for change in changes:
94
 
            if change.tags is not None:
95
 
                show_tag_col = True
96
 
                break
97
 
 
98
91
        return {
99
92
            'branch': self._branch,
100
93
            'changes': changes,
101
 
            'show_tag_col': show_tag_col,
102
94
            'data': simplejson.dumps(data),
103
95
            'util': util,
104
96
            'history': history,