incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject git commit: [#6221] include task _id in fake URL
Date Wed, 08 May 2013 18:43:11 GMT
Updated Branches:
  refs/heads/db/6221 [created] 0e9e79125


[#6221] include task _id in fake URL


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/0e9e7912
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/0e9e7912
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/0e9e7912

Branch: refs/heads/db/6221
Commit: 0e9e791257b71166bcba50abb5beeec6fd42d15b
Parents: 8e9c17d
Author: Dave Brondsema <dbrondsema@slashdotmedia.com>
Authored: Wed May 8 18:43:03 2013 +0000
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Wed May 8 18:43:03 2013 +0000

----------------------------------------------------------------------
 Allura/allura/command/taskd.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/0e9e7912/Allura/allura/command/taskd.py
----------------------------------------------------------------------
diff --git a/Allura/allura/command/taskd.py b/Allura/allura/command/taskd.py
index 8eaa093..505935a 100644
--- a/Allura/allura/command/taskd.py
+++ b/Allura/allura/command/taskd.py
@@ -122,7 +122,7 @@ class TaskdCommand(base.Command):
                             only=only)
                     if self.task:
                         # Build the (fake) request
-                        r = Request.blank('/--%s--/' % self.task.task_name,
+                        r = Request.blank('/--%s--/%s' % (self.task.task_name, self.task._id),
                                           {'task': self.task,
                                            'wsgi.errors': wsgi_error_log,  # ErrorMiddleware
records error details here
                                            })


Mime
View raw message