ncolony/client/heart.py
def maybeAddHeart(master):
    """Add a heart to a service collection

    Add a heart to a service.IServiceCollector if
    the heart is not None.

    :params master: a service.IServiceCollector
    """
    heartSer = makeService()
    if heartSer is None:
        return
    heartSer.setName('heart')
    heartSer.setServiceParent(master)
def maybeAddHeart(master):
    heartSer = makeService()
    if heartSer is None:
        return
    heartSer.setName('heart')
    heartSer.setServiceParent(master)
def maybeAddHeart ( master ) : heartSer = makeService ( ) if heartSer is None : return heartSer . setName ( 'heart' ) heartSer . setServiceParent ( master )
Add a heart to a service collection

    Add a heart to a service.IServiceCollector if
    the heart is not None.

    :params master: a service.IServiceCollector
Add a heart to a service collection