Exemplo n.º 1
0
def test():
    card = Card.Card()

    try:
        _installPBOC(card)
        _persoForZYT(card)
        for i in range(0, 9):
            aid = l[i]
            install(aid, card)
            perso(aid, card)
    except:
        print 'Error! Instance number : ', i
Exemplo n.º 2
0
def test():
    card = Card.Card()
    
    try:
        _installPBOC(card)
        _persoForZYT(card)
        for i in range(0,9):
            aid = l[i]
            install(aid,card)
            perso(aid,card)
    except:
        print 'Error! Instance number : ',i
Exemplo n.º 3
0
def migrate(self):
    """
    """
    gruf = self.acl_users
    out = StringIO()

    log = install( self )
    out.write( log )

    pas = self.acl_users
    pas.manage_addProduct['PlonePAS'].manage_addGRUFBridge(
        "gruf_bridge"
        )

    bridge = pas.gruf_bridge
    bridge.manage_delObject(['acl_users'])
    bridge._setObject('acl_users', gruf)
    self.__allow_groups__ = pas


    return "GRUF Bridge Installed"