~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/controllers/changelog_ui.py

  • Committer: Martin Pool
  • Date: 2011-11-23 08:33:12 UTC
  • mto: This revision was merged to the branch mainline in revision 461.
  • Revision ID: mbp@canonical.com-20111123083312-4stzhfv5843jxv2k
Bump version to 1.18.1; compatible with bzr 2.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
import urllib
22
22
 
23
 
try:
24
 
    import simplejson
25
 
except ImportError:
26
 
    import json as simplejson
 
23
import simplejson
27
24
 
28
25
from paste.httpexceptions import HTTPServerError
29
26
 
50
47
 
51
48
        try:
52
49
            revid, start_revid, revid_list = history.get_view(
53
 
                revid, start_revid, filter_file_id, query)
 
50
                revid, start_revid, filter_file_id, query,
 
51
                extra_rev_count=pagesize+1)
54
52
            util.set_context(kwargs)
55
53
 
56
54
            if (query is not None) and (len(revid_list) == 0):