From 36e3c15f54f1afdde662e45f11ae4b819fbad504 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 13 Oct 2011 22:21:48 +0200 Subject: python: Remove extra newlines. --- source4/scripting/python/samba/netcmd/common.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'source4') diff --git a/source4/scripting/python/samba/netcmd/common.py b/source4/scripting/python/samba/netcmd/common.py index a4ebdd4329..234fad3c03 100644 --- a/source4/scripting/python/samba/netcmd/common.py +++ b/source4/scripting/python/samba/netcmd/common.py @@ -24,7 +24,6 @@ from samba.dcerpc import nbt from samba.net import Net - def _get_user_realm_domain(user): """ get the realm or the domain and the base user from user like: @@ -47,14 +46,12 @@ def _get_user_realm_domain(user): return (baseuser.lower(), domain, realm.upper()) - def netcmd_dnsname(lp): '''return the full DNS name of our own host. Used as a default for hostname when running status queries''' return lp.get('netbios name').lower() + "." + lp.get('realm').lower() - def netcmd_finddc(lp, creds): '''return domain-name of a writable/ldap-capable DC for the domain.''' net = Net(creds=creds, lp=lp) -- cgit