summaryrefslogtreecommitdiffstats
path: root/ipaserver/plugins
diff options
context:
space:
mode:
authorChristian Heimes <cheimes@redhat.com>2016-11-24 16:00:47 +0100
committerMartin Basti <mbasti@redhat.com>2016-11-25 16:18:22 +0100
commit6bbbce44733761fda1fc588397b8baddbc7f8de3 (patch)
treefd4d4820399d5f88e56b92d955d03729471c2def /ipaserver/plugins
parentfef6f18aa27c3c5286c48dce4419db6ff9ac967b (diff)
downloadfreeipa-6bbbce44733761fda1fc588397b8baddbc7f8de3.tar.gz
freeipa-6bbbce44733761fda1fc588397b8baddbc7f8de3.tar.xz
freeipa-6bbbce44733761fda1fc588397b8baddbc7f8de3.zip
wrap long line
Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipaserver/plugins')
-rw-r--r--ipaserver/plugins/aci.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipaserver/plugins/aci.py b/ipaserver/plugins/aci.py
index e09a0abad..f5973e9f2 100644
--- a/ipaserver/plugins/aci.py
+++ b/ipaserver/plugins/aci.py
@@ -354,7 +354,8 @@ def _aci_to_kw(ldap, a, test=False, pkey_only=False):
try:
targetdn = DN(target.replace('ldap:///',''))
except ValueError as e:
- raise errors.ValidationError(name='subtree', error=_("invalid DN (%s)") % e)
+ raise errors.ValidationError(
+ name='subtree', error=_("invalid DN (%s)") % e)
if targetdn.endswith(DN(api.env.container_group, api.env.basedn)):
kw['targetgroup'] = targetdn[0]['cn']
else: