mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
Don't exclude symlinks when loading plugins
This commit is contained in:
parent
397986d19a
commit
685bda4563
@ -81,7 +81,7 @@ def find_modules_in_dir(src_dir):
|
||||
if not name.endswith(suffix):
|
||||
continue
|
||||
pyfile = os.path.join(src_dir, name)
|
||||
if os.path.islink(pyfile) or not os.path.isfile(pyfile):
|
||||
if not os.path.isfile(pyfile):
|
||||
continue
|
||||
module = name[:-len(suffix)]
|
||||
if module == '__init__':
|
||||
|
Loading…
Reference in New Issue
Block a user