r13591 - ArchGenXML/trunk/src/archgenxml

"Philipp Auersperg" <[email protected]> Sun, 17 Apr 2011 15:12:27 +0000
Newsgroups gmane.comp.web.zope.plone.archetypes.cvs
Message-ID <[email protected]>
Author: zworkb
Date: Sun Apr 17 15:12:27 2011
New Revision: 13591

Modified:
   ArchGenXML/trunk/src/archgenxml/BaseGenerator.py
Log:
removed adaptation parents from dependent imports

Modified: ArchGenXML/trunk/src/archgenxml/BaseGenerator.py
==============================================================================
--- ArchGenXML/trunk/src/archgenxml/BaseGenerator.py	(original)
+++ ArchGenXML/trunk/src/archgenxml/BaseGenerator.py	Sun Apr 17 15:12:27 2011
@@ -222,7 +222,7 @@
         parents = element.getGenParents()
         parents += element.getRealizationParents()
         parents += element.getClientDependencyClasses(includeParents=True)
-        parents += element.getAdaptationParents()
+        #parents += element.getAdaptationParents() not necessary, cause adaptation is done in .zcml
         for p in parents:
             if p.hasStereoType(self.stub_stereotypes):
                 # In principle, don't do a thing, but...

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev