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)
Пример #2
0
def associate_ldap_username(*args, **kwargs):
    from reviewboardmods.pushhooks import associate_ldap_username as alu
    return alu(*args, **kwargs)
Пример #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)