mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-26 16:16:31 -06:00
remove trailing newlines form python modules
pylint-1.6.4-1.fc26.noarch reports these, hence they should be fixed in order to build FreeIPA with this version https://fedorahosted.org/freeipa/ticket/6391 Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
parent
28c7644980
commit
29829cc55a
@ -128,4 +128,3 @@ if verbose: print("unrevoke_result=\n%s" % unrevoke_result)
|
||||
assert_equal(unrevoke_result,
|
||||
{'unrevoked' : True
|
||||
})
|
||||
|
||||
|
@ -438,5 +438,3 @@ class exuser_find(Method):
|
||||
# authors from doing all the dirty work. Let's take a look at them.
|
||||
|
||||
# COMING SOON: baseldap.py classes, extending existing plugins, etc.
|
||||
|
||||
|
||||
|
@ -21,4 +21,3 @@
|
||||
from ipaserver.install.ipa_otptoken_import import OTPTokenImport
|
||||
|
||||
OTPTokenImport.run_cli()
|
||||
|
||||
|
@ -77,4 +77,3 @@ def destroy_context():
|
||||
if isinstance(value, Connection):
|
||||
value.disconnect()
|
||||
context.__dict__.clear()
|
||||
|
||||
|
@ -1556,5 +1556,3 @@ class LogManager(object):
|
||||
setattr(who, method, getattr(logger, method))
|
||||
|
||||
return logger
|
||||
|
||||
|
||||
|
@ -226,4 +226,3 @@ class KRAInstaller(KRAInstall):
|
||||
except:
|
||||
self.log.error(dedent(self.FAIL_MESSAGE))
|
||||
raise
|
||||
|
||||
|
@ -154,4 +154,3 @@ class batch(Command):
|
||||
)
|
||||
results.append(result)
|
||||
return dict(count=len(results) , results=results)
|
||||
|
||||
|
@ -217,4 +217,3 @@ class delegation_show(crud.Retrieve):
|
||||
result=result,
|
||||
value=pkey_to_value(aciname, kw),
|
||||
)
|
||||
|
||||
|
@ -689,4 +689,3 @@ class group_detach(LDAPQuery):
|
||||
result=True,
|
||||
value=pkey_to_value(keys[0], options),
|
||||
)
|
||||
|
||||
|
@ -602,4 +602,3 @@ class hbacrule_remove_service(LDAPRemoveMember):
|
||||
|
||||
member_attributes = ['memberservice']
|
||||
member_count_out = ('%i object removed.', '%i objects removed.')
|
||||
|
||||
|
@ -149,4 +149,3 @@ class hbacsvc_find(LDAPSearch):
|
||||
@register()
|
||||
class hbacsvc_show(LDAPRetrieve):
|
||||
__doc__ = _('Display information about an HBAC service.')
|
||||
|
||||
|
@ -173,4 +173,3 @@ class hbacsvcgroup_add_member(LDAPAddMember):
|
||||
@register()
|
||||
class hbacsvcgroup_remove_member(LDAPRemoveMember):
|
||||
__doc__ = _('Remove members from an HBAC service group.')
|
||||
|
||||
|
@ -313,4 +313,3 @@ class hostgroup_remove_member(LDAPRemoveMember):
|
||||
assert isinstance(dn, DN)
|
||||
self.obj.suppress_netgroup_memberof(ldap, dn, entry_attrs)
|
||||
return (completed, dn)
|
||||
|
||||
|
@ -768,5 +768,3 @@ class idrange_mod(LDAPUpdate):
|
||||
self.obj.handle_ipabaserid(entry_attrs, options)
|
||||
self.obj.handle_iparangetype(entry_attrs, options)
|
||||
return dn
|
||||
|
||||
|
||||
|
@ -147,4 +147,3 @@ class passwd(Command):
|
||||
result=True,
|
||||
value=principal,
|
||||
)
|
||||
|
||||
|
@ -102,4 +102,3 @@ class pkinit_anonymous(Command):
|
||||
ldap.update_entry(entry_attrs)
|
||||
|
||||
return dict(result=True)
|
||||
|
||||
|
@ -337,4 +337,3 @@ class realmdomains_mod(LDAPUpdate):
|
||||
@register()
|
||||
class realmdomains_show(LDAPRetrieve):
|
||||
__doc__ = _('Display the list of realm domains.')
|
||||
|
||||
|
@ -249,4 +249,3 @@ class role_remove_privilege(LDAPRemoveReverseMember):
|
||||
doc=_('Number of privileges removed'),
|
||||
),
|
||||
)
|
||||
|
||||
|
@ -214,4 +214,3 @@ class selfservice_show(crud.Retrieve):
|
||||
result=result,
|
||||
value=pkey_to_value(aciname, kw),
|
||||
)
|
||||
|
||||
|
@ -566,4 +566,3 @@ class selinuxusermap_remove_host(LDAPRemoveMember):
|
||||
|
||||
member_attributes = ['memberhost']
|
||||
member_count_out = ('%i object removed.', '%i objects removed.')
|
||||
|
||||
|
@ -200,4 +200,3 @@ class sudocmd_find(LDAPSearch):
|
||||
@register()
|
||||
class sudocmd_show(LDAPRetrieve):
|
||||
__doc__ = _('Display Sudo Command.')
|
||||
|
||||
|
@ -192,4 +192,3 @@ class sudocmdgroup_add_member(LDAPAddMember):
|
||||
@register()
|
||||
class sudocmdgroup_remove_member(LDAPRemoveMember):
|
||||
__doc__ = _('Remove members from Sudo Command Group.')
|
||||
|
||||
|
@ -1863,4 +1863,3 @@ class trustdomain_disable(LDAPQuery):
|
||||
result=True,
|
||||
value=pkey_to_value(keys[1], options),
|
||||
)
|
||||
|
||||
|
@ -217,4 +217,3 @@ class test_hbactest(XMLRPC_test):
|
||||
api.Command['host_del'](self.test_sourcehost)
|
||||
api.Command['hostgroup_del'](self.test_sourcehostgroup)
|
||||
api.Command['hbacsvc_del'](self.test_service)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user