Rev 182: Removed unnecessary passing of requests. in http://bzr.daniel-watkins.co.uk/pqm/remove-request

Daniel Watkins daniel at daniel-watkins.co.uk
Mon Jul 14 15:22:42 BST 2008


At http://bzr.daniel-watkins.co.uk/pqm/remove-request

------------------------------------------------------------
revno: 182
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.
-------------- next part --------------
=== modified file 'pqm/ui/twistd.py'
--- a/pqm/ui/twistd.py	2008-04-14 07:35:43 +0000
+++ b/pqm/ui/twistd.py	2008-07-14 14:21:22 +0000
@@ -48,11 +48,11 @@
             project = request.postpath[0]
             request.prepath.extend(request.postpath)
             request.postpath[:] = []
-            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):
 
         # Get queuedir
         configp = pqm.ConfigParser()



More information about the bazaar-commits mailing list