mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ldapupdate: Use proper inheritance in BadSyntax exception
https://fedorahosted.org/freeipa/ticket/6294 Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
parent
38a51fa984
commit
415600fe45
@ -83,8 +83,8 @@ def connect(ldapi=False, realm=None, fqdn=None, dm_password=None, pw_name=None):
|
||||
class BadSyntax(installutils.ScriptError):
|
||||
def __init__(self, value):
|
||||
self.value = value
|
||||
self.msg = "LDAPUpdate: syntax error: \n %s" % value
|
||||
self.rval = 1
|
||||
super(BadSyntax, self).__init__(
|
||||
msg="LDAPUpdate: syntax error: \n %s" % value, rval=1)
|
||||
|
||||
def __str__(self):
|
||||
return repr(self.value)
|
||||
|
Loading…
Reference in New Issue
Block a user