Changeset 1509 in products for quintagroup.seoptimizer


Ignore:
Timestamp:
Jan 4, 2010 4:40:19 PM (14 years ago)
Author:
liebster
Message:

Added doc strings.

Location:
quintagroup.seoptimizer/trunk/quintagroup/seoptimizer
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.seoptimizer/trunk/quintagroup/seoptimizer/adapters.py

    r1313 r1509  
    1515 
    1616    def listKeywords(self): 
     17        """ See interface. 
     18        """ 
    1719        portal_props = getToolByName(self.context, 'portal_properties') 
    1820        seo_props = getToolByName(portal_props, 'seo_properties', None) 
     
    5355 
    5456    def getMappingMetaTags(self): 
     57        """ See interface. 
     58        """ 
    5559        metadata_name = SortedDict() 
    5660        if self.seo_props: 
  • quintagroup.seoptimizer/trunk/quintagroup/seoptimizer/browser/viewlets.py

    r1313 r1509  
    77 
    88class TitleCommentViewlet(ViewletBase): 
     9    """ Simple viewlet for custom title rendering. 
     10    """ 
    911 
    1012    def update(self): 
     
    4850 
    4951class CustomScriptViewlet( ViewletBase ): 
    50  
     52    """ Simple viewlet for custom script rendering. 
     53    """ 
    5154    def getCustomScript( self ): 
    5255        context = self.context.aq_inner 
     
    6265 
    6366class CanonicalUrlViewlet( ViewletBase ): 
    64     """ 
    65        simple viewlet for canonical url link rendering 
     67    """ Simple viewlet for canonical url link rendering. 
    6668    """ 
    6769 
  • quintagroup.seoptimizer/trunk/quintagroup/seoptimizer/util.py

    r1317 r1509  
    1111 
    1212class SortedDict(dict): 
     13    """ A sorted dictionary. 
     14    """ 
    1315    security = ClassSecurityInfo() 
    1416 
     
    4749 
    4850def removeSkin(self, layer): 
    49     """Remove layers""" 
     51    """ Remove layers. 
     52    """ 
    5053    skinstool = getToolByName(self, 'portal_skins') 
    5154    for skinName in skinstool.getSkinSelections(): 
     
    6063 
    6164def removeActions(self): 
     65    """ Remove actions. 
     66    """ 
    6267    tool = getToolByName(self, 'portal_types') 
    6368    for ptype in tool.objectValues(): 
     
    7075 
    7176def remove_configlets( context, conf_ids ): 
     77    """ Remove configlets. 
     78    """ 
    7279    configTool = getToolByName(context, 'portal_controlpanel', None) 
    7380    if configTool: 
     
    7683 
    7784def uninstall( context ): 
     85    """ Do customized uninstallation. 
     86    """ 
    7887    if context.readDataFile('seo_uninstall.txt') is None: 
    7988        return 
Note: See TracChangeset for help on using the changeset viewer.