r13511 - ArchGenXML/trunk/src/archgenxml

"Jens W. Klein" <[email protected]> Thu, 10 Mar 2011 13:14:02 +0000
Newsgroups gmane.comp.web.zope.plone.archetypes.cvs
Message-ID <[email protected]>
Author: jensens
Date: Thu Mar 10 13:14:01 2011
New Revision: 13511

Modified:
   ArchGenXML/trunk/src/archgenxml/BaseGenerator.py
Log:
z3 default interface, explicit imports

Modified: ArchGenXML/trunk/src/archgenxml/BaseGenerator.py
==============================================================================
--- ArchGenXML/trunk/src/archgenxml/BaseGenerator.py	(original)
+++ ArchGenXML/trunk/src/archgenxml/BaseGenerator.py	Thu Mar 10 13:14:01 2011
@@ -24,7 +24,12 @@
 from zope.documenttemplate import HTML
 
 import utils
-from codesnippets import *
+from codesnippets import (
+    ENCODING_HEADER,
+    LICENSES,
+    COPYRIGHT,
+    MODULE_INFO_HEADER,
+)
 
 from xmiparser import xmiparser
 import PyParser
@@ -118,7 +123,7 @@
         return self.getUMLProfile().getStereoType(self.default_class_type)
 
     def getDefaultInterfaceType(self):
-        return 'z2'
+        return 'z3'
 
     def processExpression(self, value, asString=True):
         """Process the string returned by tagged values.

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d