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:
Martin Babinsky 2016-10-11 17:10:50 +02:00 committed by Martin Basti
parent 28c7644980
commit 29829cc55a
24 changed files with 0 additions and 27 deletions

View File

@ -128,4 +128,3 @@ if verbose: print("unrevoke_result=\n%s" % unrevoke_result)
assert_equal(unrevoke_result,
{'unrevoked' : True
})

View File

@ -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.

View File

@ -21,4 +21,3 @@
from ipaserver.install.ipa_otptoken_import import OTPTokenImport
OTPTokenImport.run_cli()

View File

@ -77,4 +77,3 @@ def destroy_context():
if isinstance(value, Connection):
value.disconnect()
context.__dict__.clear()

View File

@ -1556,5 +1556,3 @@ class LogManager(object):
setattr(who, method, getattr(logger, method))
return logger

View File

@ -226,4 +226,3 @@ class KRAInstaller(KRAInstall):
except:
self.log.error(dedent(self.FAIL_MESSAGE))
raise

View File

@ -154,4 +154,3 @@ class batch(Command):
)
results.append(result)
return dict(count=len(results) , results=results)

View File

@ -217,4 +217,3 @@ class delegation_show(crud.Retrieve):
result=result,
value=pkey_to_value(aciname, kw),
)

View File

@ -689,4 +689,3 @@ class group_detach(LDAPQuery):
result=True,
value=pkey_to_value(keys[0], options),
)

View File

@ -602,4 +602,3 @@ class hbacrule_remove_service(LDAPRemoveMember):
member_attributes = ['memberservice']
member_count_out = ('%i object removed.', '%i objects removed.')

View File

@ -149,4 +149,3 @@ class hbacsvc_find(LDAPSearch):
@register()
class hbacsvc_show(LDAPRetrieve):
__doc__ = _('Display information about an HBAC service.')

View File

@ -173,4 +173,3 @@ class hbacsvcgroup_add_member(LDAPAddMember):
@register()
class hbacsvcgroup_remove_member(LDAPRemoveMember):
__doc__ = _('Remove members from an HBAC service group.')

View File

@ -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)

View File

@ -768,5 +768,3 @@ class idrange_mod(LDAPUpdate):
self.obj.handle_ipabaserid(entry_attrs, options)
self.obj.handle_iparangetype(entry_attrs, options)
return dn

View File

@ -147,4 +147,3 @@ class passwd(Command):
result=True,
value=principal,
)

View File

@ -102,4 +102,3 @@ class pkinit_anonymous(Command):
ldap.update_entry(entry_attrs)
return dict(result=True)

View File

@ -337,4 +337,3 @@ class realmdomains_mod(LDAPUpdate):
@register()
class realmdomains_show(LDAPRetrieve):
__doc__ = _('Display the list of realm domains.')

View File

@ -249,4 +249,3 @@ class role_remove_privilege(LDAPRemoveReverseMember):
doc=_('Number of privileges removed'),
),
)

View File

@ -214,4 +214,3 @@ class selfservice_show(crud.Retrieve):
result=result,
value=pkey_to_value(aciname, kw),
)

View File

@ -566,4 +566,3 @@ class selinuxusermap_remove_host(LDAPRemoveMember):
member_attributes = ['memberhost']
member_count_out = ('%i object removed.', '%i objects removed.')

View File

@ -200,4 +200,3 @@ class sudocmd_find(LDAPSearch):
@register()
class sudocmd_show(LDAPRetrieve):
__doc__ = _('Display Sudo Command.')

View File

@ -192,4 +192,3 @@ class sudocmdgroup_add_member(LDAPAddMember):
@register()
class sudocmdgroup_remove_member(LDAPRemoveMember):
__doc__ = _('Remove members from Sudo Command Group.')

View File

@ -1863,4 +1863,3 @@ class trustdomain_disable(LDAPQuery):
result=True,
value=pkey_to_value(keys[1], options),
)

View File

@ -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)