incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject [10/16] git commit: [#4927] ticket:185 removed trailing spaces and fixed several repo refresh
Date Tue, 16 Oct 2012 14:27:08 GMT
[#4927] ticket:185 removed trailing spaces and fixed several repo refresh


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

Branch: refs/heads/cj/5094
Commit: ac5a58fbcbd5ac2852fbc5e35e4677ec735e150a
Parents: ede9f52
Author: Anton Kasyanov <mind1master@gmail.com>
Authored: Thu Oct 11 19:33:40 2012 +0300
Committer: Cory Johns <johnsca@geek.net>
Committed: Mon Oct 15 20:23:07 2012 +0000

----------------------------------------------------------------------
 Allura/allura/tasks/repo_tasks.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ac5a58fb/Allura/allura/tasks/repo_tasks.py
----------------------------------------------------------------------
diff --git a/Allura/allura/tasks/repo_tasks.py b/Allura/allura/tasks/repo_tasks.py
index 7cfc463..a435d66 100644
--- a/Allura/allura/tasks/repo_tasks.py
+++ b/Allura/allura/tasks/repo_tasks.py
@@ -92,7 +92,9 @@ def refresh(**kwargs):
     #don't create multiple refresh tasks
     q = {
         'task_name': 'allura.tasks.repo_tasks.refresh',
-        'state': 'busy'
+        'state': 'busy',
+        'context.app_config_id': c.app.config._id,
+        'context.project_id': c.project._id,
     }
     refresh_tasks_count = M.MonQTask.query.find(q).count()
     q['state'] = 'ready'


Mime
View raw message