incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [1/4] git commit: [#7267] [#7015] Use fullpath for trove events
Date Wed, 12 Mar 2014 20:41:30 GMT
Repository: incubator-allura
Updated Branches:
  refs/heads/master 03c8e4d20 -> cc742e3d8


[#7267] [#7015] Use fullpath for trove events

Signed-off-by: Tim Van Steenburgh <tvansteenburgh@gmail.com>


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

Branch: refs/heads/master
Commit: 12637d41e5db4b07d4e5b243c7403af80b3bc8ec
Parents: 03c8e4d
Author: Tim Van Steenburgh <tvansteenburgh@gmail.com>
Authored: Tue Mar 4 16:38:28 2014 +0000
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Wed Mar 12 20:00:57 2014 +0000

----------------------------------------------------------------------
 Allura/allura/model/project.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/12637d41/Allura/allura/model/project.py
----------------------------------------------------------------------
diff --git a/Allura/allura/model/project.py b/Allura/allura/model/project.py
index e5902b8..4d1ea94 100644
--- a/Allura/allura/model/project.py
+++ b/Allura/allura/model/project.py
@@ -92,13 +92,13 @@ class ProjectCategory(MappedClass):
 class TroveCategoryMapperExtension(MapperExtension):
 
     def after_insert(self, obj, state, sess):
-        g.post_event('trove_category_created', obj._id)
+        g.post_event('trove_category_created', obj.fullpath)
 
     def after_update(self, obj, state, sess):
-        g.post_event('trove_category_updated', obj._id)
+        g.post_event('trove_category_updated', obj.fullpath)
 
     def after_delete(self, obj, state, sess):
-        g.post_event('trove_category_deleted', obj._id)
+        g.post_event('trove_category_deleted', obj.fullpath)
 
 
 class TroveCategory(MappedClass):


Mime
View raw message