def associate_ldap_username(*args, **kwargs):
    # Workaround an issue with "import _imp" in pkg_resources.
    with demandimport.deactivated():
        from reviewboardmods.pushhooks import associate_ldap_username as alu
    return alu(*args, **kwargs)
Esempio n. 2
0
def associate_ldap_username(*args, **kwargs):
    from reviewboardmods.pushhooks import associate_ldap_username as alu
    return alu(*args, **kwargs)
Esempio n. 3
0
def associate_ldap_username(*args, **kwargs):
    # Workaround an issue with "import _imp" in pkg_resources.
    with demandimport.deactivated():
        from reviewboardmods.pushhooks import associate_ldap_username as alu
    return alu(*args, **kwargs)