Skip to content
Commit e3a30dc1 authored by Douglas Raillard's avatar Douglas Raillard
Browse files

lisa.utils: Fix deprecate() decorator handling of import errors

FIX

A module can end up being imported several times if it results in an
ImportError, as each client will import it again. Even if the module
overall fails to import, it can still execute successfully @deprecate
calls, which will end up being repeated on the same function multiple
times.

Remove the check that prevents calling the decorator several times for
the same item name.
parent d0961ca7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment