def iq_ident(self, ident):
        if xml.is_element(ident):
            ident = ident.get('id')
        return '{jabber:client}iq[id=%r]' % ident
dataset/ETHPy150Open HenryHu/pybbs/xmpp/core.py/Core.iq_ident/original