24eadd3 py3: ipa_otptoken_import: fix lamba code inspection

Authored and Committed by mbasti 2 years ago
    py3: ipa_otptoken_import: fix lamba code inspection
    
    lambda in py3 has '__code__' attribute instead of 'func_code'
    
    https://pagure.io/freeipa/issue/4985
    
    Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>