Author: jmorliaguet
Date: Sun Dec 11 20:16:44 2005
New Revision: 2016

Modified:
   cpsskins/branches/jmo-perspectives/elements/element.py
Log:

- simpler code



Modified: cpsskins/branches/jmo-perspectives/elements/element.py
==============================================================================
--- cpsskins/branches/jmo-perspectives/elements/element.py      (original)
+++ cpsskins/branches/jmo-perspectives/elements/element.py      Sun Dec 11 
20:16:44 2005
@@ -66,7 +66,7 @@
 
     def getURI(self):
         element = self.element
-        prefix = queryType(element, IResourceType).getTaggedValue('name')
+        prefix = IType(element).resourcetype
         suffix = str(IRelatable(element)) or \
                  str(IRelatable(element.__parent__)) or u''
         return '%s.%s' % (prefix, suffix)
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to