Rev 207: Removed unnecessary passing of requests. in http://bzr.daniel-watkins.co.uk/pqm/ui
Daniel Watkins
daniel at daniel-watkins.co.uk
Mon Jul 14 15:26:21 BST 2008
At http://bzr.daniel-watkins.co.uk/pqm/ui
------------------------------------------------------------
revno: 207
revision-id: daniel at daniel-watkins.co.uk-20080714142503-r6645pwg1s73s9i2
parent: daniel at daniel-watkins.co.uk-20080713152609-bnpnxkb25vajz1bn
parent: daniel at daniel-watkins.co.uk-20080714142122-dsms44g11q4b4mjl
committer: Daniel Watkins <daniel at daniel-watkins.co.uk>
branch nick: ui
timestamp: Mon 2008-07-14 15:25:03 +0100
message:
Removed unnecessary passing of requests.
modified:
pqm/ui/twistd.py x_Robert_Collins_<robert.collins at canonical.com>_Sun_Jul_10_02:00:08_2005_15556.0
------------------------------------------------------------
revno: 174.3.6
revision-id: daniel at daniel-watkins.co.uk-20080714142122-dsms44g11q4b4mjl
parent: daniel at daniel-watkins.co.uk-20080713150600-mvvadrr27afyhjwq
committer: Daniel Watkins <daniel at daniel-watkins.co.uk>
branch nick: remove-request
timestamp: Mon 2008-07-14 15:21:22 +0100
message:
Removed unnecessary passing of requests.
modified:
pqm/ui/twistd.py x_Robert_Collins_<robert.collins at canonical.com>_Sun_Jul_10_02:00:08_2005_15556.0
-------------- next part --------------
=== modified file 'pqm/ui/twistd.py'
--- a/pqm/ui/twistd.py 2008-07-10 12:48:14 +0000
+++ b/pqm/ui/twistd.py 2008-07-14 14:25:03 +0000
@@ -48,11 +48,11 @@
"specific page.</h1>", 'text/html').render(request)
if len(request.postpath) > 1:
project = request.postpath[0]
- return self.getProjectPage(project, request).render(request)
+ return self.getProjectPage(project).render(request)
else:
- return self.getProjectPage(None, request).render(request)
+ return self.getProjectPage(None).render(request)
- def getProjectPage(self, selected_project, request):
+ def getProjectPage(self, selected_project):
template = compileHTMLTemplate(html_template)
c = Context(allowPythonPath=True)
c.addGlobal('processing', self.currentlyProcessing())
More information about the bazaar-commits
mailing list