allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject [05/50] git commit: [#6979] ticket:510 added escaping colon to milestones controller
Date Mon, 06 Jan 2014 15:17:55 GMT
[#6979] ticket:510 added escaping colon to milestones controller


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

Branch: refs/heads/cj/6992
Commit: c70e94f71e96ed00c2c6fb434c0f317d4f771856
Parents: 7bea076
Author: Yaroslav Sokolovsky <yaroslav.sokolovsky@gmail.com>
Authored: Tue Dec 24 17:49:33 2013 +0200
Committer: Tim Van Steenburgh <tvansteenburgh@gmail.com>
Committed: Wed Jan 1 05:46:50 2014 +0000

----------------------------------------------------------------------
 ForgeTracker/forgetracker/tracker_main.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/c70e94f7/ForgeTracker/forgetracker/tracker_main.py
----------------------------------------------------------------------
diff --git a/ForgeTracker/forgetracker/tracker_main.py b/ForgeTracker/forgetracker/tracker_main.py
index 71f7d64..ca3587f 100644
--- a/ForgeTracker/forgetracker/tracker_main.py
+++ b/ForgeTracker/forgetracker/tracker_main.py
@@ -1726,7 +1726,7 @@ class MilestoneController(BaseController):
         self.root = root
         self.field = fld
         self.milestone = m
-        self.progress_key = '%s:%s' % (fld.name, m.name)
+        self.progress_key = '%s:%s' % (fld.name, m.name.replace(':', '\:'))
         self.mongo_query = {
             'custom_fields.%s' % fld.name: m.name }
 


Mime
View raw message