~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/controllers/changelog_ui.py

  • Committer: Matt Nordhoff
  • Date: 2009-06-26 09:23:47 UTC
  • Revision ID: mnordhoff@mattnordhoff.com-20090626092347-28xtb3s1oc16uoph
Remove loggerhead/main.py's shebang, since it's no longer executable anyway.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
import urllib
22
22
 
23
 
import simplejson
 
23
try:
 
24
    import simplejson
 
25
except ImportError:
 
26
    import json as simplejson
24
27
 
25
28
from paste.httpexceptions import HTTPServerError
26
29
 
103
106
            'navigation': navigation,
104
107
            'filter_file_id': filter_file_id,
105
108
            'start_revid': start_revid,
106
 
            'viewing_from': (orig_start_revid is not None) and
 
109
            'viewing_from': (orig_start_revid is not None) and 
107
110
                            (orig_start_revid != history.last_revid),
108
111
            'query': query,
109
112
            'search_failed': search_failed,