~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/controllers/changelog_ui.py

  • Committer: Michael Hudson
  • Date: 2008-06-12 09:33:02 UTC
  • mto: This revision was merged to the branch mainline in revision 164.
  • Revision ID: michael.hudson@canonical.com-20080612093302-hkrdxxucq2hwbenj
links start to work

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
import time
21
21
 
22
 
import turbogears
23
22
from cherrypy import InternalError
 
23
from paste.request import path_info_pop
24
24
 
25
25
from loggerhead import util
26
26
from loggerhead.templatefunctions import templatefunctions
45
45
 
46
46
        h._branch.lock_read()
47
47
        try:
48
 
            args = ()
49
48
            kw = request.GET
50
 
            if len(args) > 0:
51
 
                revid = h.fix_revid(args[0])
 
49
            arg = path_info_pop(request.environ)
 
50
            if arg:
 
51
                revid = h.fix_revid(arg)
52
52
            else:
53
53
                revid = None
54
54