r13724 - ArchGenXML/trunk/src/archgenxml/templates

"Vincent Fretin" <[email protected]> Mon, 18 Jul 2011 13:08:45 +0000
Newsgroups gmane.comp.web.zope.plone.archetypes.cvs
Message-ID <[email protected]>
Author: vincentfretin
Date: Mon Jul 18 13:08:44 2011
New Revision: 13724

Modified:
   ArchGenXML/trunk/src/archgenxml/templates/Install.pydtml
   ArchGenXML/trunk/src/archgenxml/templates/adapters.zcml
   ArchGenXML/trunk/src/archgenxml/templates/browser.zcml
   ArchGenXML/trunk/src/archgenxml/templates/dcworkflowpatch.pydtml
   ArchGenXML/trunk/src/archgenxml/templates/flavors.zcml
   ArchGenXML/trunk/src/archgenxml/templates/implements.zcml
   ArchGenXML/trunk/src/archgenxml/templates/includes.zcml
   ArchGenXML/trunk/src/archgenxml/templates/portlet_class.pydtml
   ArchGenXML/trunk/src/archgenxml/templates/zope3_interface.pydtml
Log:
removed trailing whitespaces

Modified: ArchGenXML/trunk/src/archgenxml/templates/Install.pydtml
==============================================================================
--- ArchGenXML/trunk/src/archgenxml/templates/Install.pydtml	(original)
+++ ArchGenXML/trunk/src/archgenxml/templates/Install.pydtml	Mon Jul 18 13:08:44 2011
@@ -4,15 +4,15 @@
 from Products.<dtml-var "package.getProductModuleName()">.config import PROJECTNAME
 
 def install(self, reinstall=False):
-    """External Method to install <dtml-var "package.getProductModuleName()"> 
-    
+    """External Method to install <dtml-var "package.getProductModuleName()">
+
     This method to install a product is kept, until something better will get
     part of Plones front end, which utilize portal_setup.
     """
     out = StringIO()
     print >> out, "Installation log of %s:" % PROJECTNAME
 
-    setuptool = getToolByName(self, 'portal_setup')   
+    setuptool = getToolByName(self, 'portal_setup')
     importcontext = 'profile-Products.%s:default' % PROJECTNAME
     setuptool.setImportContext(importcontext)
     setuptool.runAllImportSteps()

Modified: ArchGenXML/trunk/src/archgenxml/templates/adapters.zcml
==============================================================================
--- ArchGenXML/trunk/src/archgenxml/templates/adapters.zcml	(original)
+++ ArchGenXML/trunk/src/archgenxml/templates/adapters.zcml	Mon Jul 18 13:08:44 2011
@@ -2,16 +2,16 @@
 
   <!-- ##code-section HEAD -->
   <!-- ##/code-section HEAD -->
-  
+
 <dtml-if "hasExtender">
  <include package="archetypes.schemaextender" />
 </dtml-if>
 <dtml-in "generatedAdapters">
  <dtml-let adapter="_['sequence-item']">
- 
+
 	<dtml-in "adapter['for']">
 	<dtml-let adaptee="_['sequence-item']">
-	
+
 	 <adapter
 	    factory="<dtml-var "adapter['qualifiedName']">"
 	    <dtml-if "adapter['isNamed']">name="<dtml-var "adapter['adapterName']">"
@@ -29,4 +29,4 @@
  <!-- ##code-section FOOT -->
   <!-- ##/code-section FOOT -->
 
-</configure>
\ No newline at end of file
+</configure>

Modified: ArchGenXML/trunk/src/archgenxml/templates/browser.zcml
==============================================================================
--- ArchGenXML/trunk/src/archgenxml/templates/browser.zcml	(original)
+++ ArchGenXML/trunk/src/archgenxml/templates/browser.zcml	Mon Jul 18 13:08:44 2011
@@ -12,7 +12,7 @@
 <dtml-if portletViews>
   <include package="plone.app.portlets" />
 </dtml-if>
- 
+
 <dtml-in browserViews>
 <dtml-let klass="_['sequence-item']">
 <dtml-in "klass.getClientDependencies()">
@@ -65,9 +65,9 @@
 </dtml-let>
 </dtml-in>
 
- 
 
-  
+
+
 <!-- ##code-section BROWSER #fill in your manual code here -->
 <!-- ##/code-section BROWSER -->
 

Modified: ArchGenXML/trunk/src/archgenxml/templates/dcworkflowpatch.pydtml
==============================================================================
--- ArchGenXML/trunk/src/archgenxml/templates/dcworkflowpatch.pydtml	(original)
+++ ArchGenXML/trunk/src/archgenxml/templates/dcworkflowpatch.pydtml	Mon Jul 18 13:08:44 2011
@@ -6,7 +6,7 @@
 from zope.app.event.objectevent import ObjectEvent
 from Acquisition import aq_inner
 from Acquisition import aq_parent
-from Products.CMFCore.WorkflowCore import ObjectMoved 
+from Products.CMFCore.WorkflowCore import ObjectMoved
 from Products.DCWorkflow.DCWorkflow import DCWorkflowDefinition
 from Products.DCWorkflow.Expression import StateChangeInfo
 from Products.DCWorkflow.Expression import createExprContext
@@ -31,23 +31,23 @@
                            "after transition")
     transition = Attribute(u"The transition definition taking place. "
                             "May be None if this is the 'transition' to the "
-                            "initial state.")                                   
+                            "initial state.")
     status = Attribute(u"The history/status dict of the object before the "
                         "transition.")
     kwargs = Attribute(u"Any keyword arguments passed to doActionFor() when "
                         "the transition was invoked")
-    
-class IBeforeTransitionEvent(ITransitionEvent):    
+
+class IBeforeTransitionEvent(ITransitionEvent):
     """An event fired before a workflow transition.
     """
-    
+
 class IAfterTransitionEvent(ITransitionEvent):
     """An event that's fired after a workflow transition.
     """
 
 class TransitionEvent(ObjectEvent):
     implements(ITransitionEvent)
-    
+
     def __init__(self, obj, workflow, old_state, new_state,
                  transition, status, kwargs):
         ObjectEvent.__init__(self, obj)
@@ -57,10 +57,10 @@
         self.transition = transition
         self.status = status
         self.kwargs = kwargs
-        
+
 class BeforeTransitionEvent(TransitionEvent):
     implements(IBeforeTransitionEvent)
-    
+
 class AfterTransitionEvent(TransitionEvent):
     implements(IAfterTransitionEvent)
 
@@ -89,11 +89,11 @@
     if new_sdef is None:
         raise WorkflowException, (
             'Destination state undefined: ' + new_state)
-        
+
     # Fire "before" event
     notify(BeforeTransitionEvent(ob, self, old_sdef, new_sdef, tdef,
                                  former_status, kwargs))
-    
+
     # Execute the "before" script.
     if tdef is not None and tdef.script_name:
         script = self.scripts[tdef.script_name]
@@ -156,7 +156,7 @@
         sci = StateChangeInfo(
             ob, self, status, tdef, old_sdef, new_sdef, kwargs)
         script(sci)  # May throw an exception.
-    
+
     # Fire "after" event
     notify(AfterTransitionEvent(ob, self, old_sdef, new_sdef,
                                 tdef, former_status, kwargs))

Modified: ArchGenXML/trunk/src/archgenxml/templates/flavors.zcml
==============================================================================
--- ArchGenXML/trunk/src/archgenxml/templates/flavors.zcml	(original)
+++ ArchGenXML/trunk/src/archgenxml/templates/flavors.zcml	Mon Jul 18 13:08:44 2011
@@ -4,7 +4,7 @@
 
   <!-- ##code-section HEAD -->
   <!-- ##/code-section HEAD -->
-  
+
 <dtml-in "flavors">
  <dtml-let flavor="_['sequence-item']">
 
@@ -23,8 +23,8 @@
     />
  </dtml-let>
 </dtml-in>
-  
+
   <!-- ##code-section FOOT -->
   <!-- ##/code-section FOOT -->
 
-</configure>
\ No newline at end of file
+</configure>

Modified: ArchGenXML/trunk/src/archgenxml/templates/implements.zcml
==============================================================================
--- ArchGenXML/trunk/src/archgenxml/templates/implements.zcml	(original)
+++ ArchGenXML/trunk/src/archgenxml/templates/implements.zcml	Mon Jul 18 13:08:44 2011
@@ -3,7 +3,7 @@
 
   <!-- ##code-section HEAD -->
   <!-- ##/code-section HEAD -->
-  
+
 <dtml-in "implementers">
  <dtml-let implementer="_['sequence-item']">
  <five:implements
@@ -17,4 +17,4 @@
  <!-- ##code-section FOOT -->
   <!-- ##/code-section FOOT -->
 
-</configure>
\ No newline at end of file
+</configure>

Modified: ArchGenXML/trunk/src/archgenxml/templates/includes.zcml
==============================================================================
--- ArchGenXML/trunk/src/archgenxml/templates/includes.zcml	(original)
+++ ArchGenXML/trunk/src/archgenxml/templates/includes.zcml	Mon Jul 18 13:08:44 2011
@@ -1,5 +1,5 @@
 <configure xmlns="http://namespaces.zope.org/zope">
-  
+
 <dtml-in "subPackagesWithZcml">
  <include file="includes.zcml" package=".<dtml-var "_['sequence-item']">"/>
 </dtml-in>
@@ -17,4 +17,4 @@
   <!-- ##code-section includes.zcml -->
   <!-- ##/code-section includes.zcml -->
 
-</configure>
\ No newline at end of file
+</configure>

Modified: ArchGenXML/trunk/src/archgenxml/templates/portlet_class.pydtml
==============================================================================
--- ArchGenXML/trunk/src/archgenxml/templates/portlet_class.pydtml	(original)
+++ ArchGenXML/trunk/src/archgenxml/templates/portlet_class.pydtml	Mon Jul 18 13:08:44 2011
@@ -20,16 +20,16 @@
     """
 
 class Assignment(base.Assignment):
-    
+
     implements(I<dtml-var "klass.getName()">)
-    
+
     title = _(u'<dtml-var "klass.getTaggedValue('label',klass.getName())">')
 
 <dtml-var "generator.getProtectedSection(parsed_class,'assignment-body',ind=1)">
 
 
 class Renderer(base.Renderer):
-    
+
     render = ViewPageTemplateFile('templates/<dtml-var "klass.getTaggedValue('template_name',klass.getName())">')
 
     def __init__(self, *args):

Modified: ArchGenXML/trunk/src/archgenxml/templates/zope3_interface.pydtml
==============================================================================
--- ArchGenXML/trunk/src/archgenxml/templates/zope3_interface.pydtml	(original)
+++ ArchGenXML/trunk/src/archgenxml/templates/zope3_interface.pydtml	Mon Jul 18 13:08:44 2011
@@ -5,13 +5,13 @@
 class <dtml-var "klass.getCleanName()"><dtml-if "klass.getGenParents()">(<dtml-var "','.join([p.getCleanName() for p in klass.getGenParents()])">)</dtml-if><dtml-if "not klass.getGenParents() and klass.isInterface()">(Interface)</dtml-if>:
     """<dtml-var "utils.indent(klass.getDocumentation(), 1, skipFirstRow=True, stripBlank=True)">
     """
-<dtml-var "generator.getProtectedSection(parsed_class,'class-header_'+klass.getCleanName(),1)">    
+<dtml-var "generator.getProtectedSection(parsed_class,'class-header_'+klass.getCleanName(),1)">
 <dtml-in "generator.getMethodsToGenerate(klass)[0]">
 <dtml-let m="_['sequence-item']">
     def <dtml-var "m.getName()">(<dtml-var "', '.join(m.getParamNames())">):
         """
         """
-    
+
 </dtml-let>
 </dtml-in>
 </dtml-let>

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev