summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorAlexander Bokovoy <abokovoy@redhat.com>2012-08-16 19:57:30 +0300
committerRob Crittenden <rcritten@redhat.com>2012-08-15 23:41:19 -0400
commitcea40170f590a172b510ee6f96727a03b8b5007d (patch)
tree1d33afd0b27b312ce12c4658ff5985e1b8ce6bc2 /ipalib
parent59df038f87764d96a78dcab8546aaabccfb4c994 (diff)
downloadfreeipa-cea40170f590a172b510ee6f96727a03b8b5007d.tar.gz
freeipa-cea40170f590a172b510ee6f96727a03b8b5007d.tar.xz
freeipa-cea40170f590a172b510ee6f96727a03b8b5007d.zip
Ignore lint errors if pysssd_murmur and samba4 support not installed when building client code.
Since ipalib.plugins.trust has both client-side and server-side code, this is the only way to properly handle linting errors.
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/plugins/trust.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/plugins/trust.py b/ipalib/plugins/trust.py
index 1064a0678..f19a0a874 100644
--- a/ipalib/plugins/trust.py
+++ b/ipalib/plugins/trust.py
@@ -25,14 +25,14 @@ from ipalib import errors
from ipapython import ipautil
from ipalib import util
try:
- import pysss_murmur
+ import pysss_murmur #pylint: disable=F0401
_murmur_installed = True
except Exception, e:
_murmur_installed = False
if api.env.in_server and api.env.context in ['lite', 'server']:
try:
- import ipaserver.dcerpc
+ import ipaserver.dcerpc #pylint: disable=F0401
_bindings_installed = True
except Exception, e:
_bindings_installed = False