Skip to content

Commit

Permalink
engine: disable lint flag on legacy imp usage
Browse files Browse the repository at this point in the history
Signed-off-by: James Knight <[email protected]>
  • Loading branch information
jdknight committed May 15, 2024
1 parent bc9251b commit 9b61029
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fetchdep/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ def __init__(self, opts):

# find implementation location (mainly for debugging)
if sys.version_info < (3, 0) and not os.path.isabs(__file__):
_, self._base_dir, _ = imp.find_module('fetchdep')
_, self._base_dir, _ = imp.find_module( # pylint: disable=E0606
'fetchdep')
else:
engine_dir = os.path.dirname(__file__)
self._base_dir = os.path.dirname(engine_dir)
Expand Down

0 comments on commit 9b61029

Please sign in to comment.