diff options
author | Nick Hatch <nicholas.hatch@gmail.com> | 2013-09-03 00:08:13 +0300 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2013-09-16 17:35:22 +0200 |
commit | 685bda4563da4598ca64fee94aa4abce55dd9043 (patch) | |
tree | b1100a71b9cce4c41ae51057d095ae6d97bbc83b /ipalib/util.py | |
parent | 397986d19a9e125bb16cf2e950ef96a985cf9637 (diff) | |
download | freeipa-685bda4563da4598ca64fee94aa4abce55dd9043.tar.gz freeipa-685bda4563da4598ca64fee94aa4abce55dd9043.tar.xz freeipa-685bda4563da4598ca64fee94aa4abce55dd9043.zip |
Don't exclude symlinks when loading plugins
Diffstat (limited to 'ipalib/util.py')
-rw-r--r-- | ipalib/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/util.py b/ipalib/util.py index 3c52e4fd9..e14077487 100644 --- a/ipalib/util.py +++ b/ipalib/util.py @@ -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__': |