( self )
return result
Return a list of strings of form '%(name)s %(version)s'.

        o Each line describes one product installed in the Control_Panel.
Return a list of strings of form '%(name)s %(version)s'.
Return a list of strings of form % ( name ) s % ( version ) s .
def _listProductInfo( self ):
        """ Return a list of strings of form '%(name)s %(version)s'.

        o Each line describes one product installed in the Control_Panel.
        """
        result = []
        cp = self.getPhysicalRoot().Control_Panel
        products = cp.Products.objectItems()
        products.sort()

        for product_name, product in products:
            version = product.version or 'unreleased'
            result.append( '%s %s' % ( product_name, version ) )

        return result
def _listProductInfo ( self ) : result = [ ] cp = self . getPhysicalRoot ( ) . Control_Panel products = cp . Products . objectItems ( ) products . sort ( ) for product_name , product in products : version = product . version or 'unreleased' result . append ( '%s %s' % ( product_name , version ) ) return result