diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2011-10-13 22:21:48 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2011-10-14 00:22:56 +0200 |
commit | 36e3c15f54f1afdde662e45f11ae4b819fbad504 (patch) | |
tree | 278ecc4fc0b19e571f8add09513d0b56c69bb55f | |
parent | b0d89e5c053c109d0a8c6d933b824a535a76251d (diff) | |
download | samba-36e3c15f54f1afdde662e45f11ae4b819fbad504.tar.gz samba-36e3c15f54f1afdde662e45f11ae4b819fbad504.tar.bz2 samba-36e3c15f54f1afdde662e45f11ae4b819fbad504.zip |
python: Remove extra newlines.
-rw-r--r-- | source4/scripting/python/samba/netcmd/common.py | 3 |
1 files changed, 0 insertions, 3 deletions
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) |