def __init__(self): super(BlockListHandler, self).__init__(_createBlockListExt().setChild( ContactItemExtension()))
def _createUnblockItemExt(jid=None): return PyExtension(_TAG.UNBLOCK_ITEM).setXmlNs(_NS.BLOCKING_CMD).setChild( ContactItemExtension(jid))