You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2013/05/08 20:43:11 UTC

git commit: [#6221] include task _id in fake URL

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 <db...@slashdotmedia.com>
Authored: Wed May 8 18:43:03 2013 +0000
Committer: Dave Brondsema <db...@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
                                            })