From fe14a3f7582e499a9f632d31937dae9bf61fd342 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Baumbach?= Date: Wed, 28 May 2014 17:56:48 +0200 Subject: [PATCH] samba-tool domain: remove duplicate check if site is set MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Björn Baumbach Reviewed-by: Michael Adam Reviewed-by: Kamen Mazdrashki --- python/samba/netcmd/domain.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/python/samba/netcmd/domain.py b/python/samba/netcmd/domain.py index b37ca1a6c64..2e7a9c79c66 100644 --- a/python/samba/netcmd/domain.py +++ b/python/samba/netcmd/domain.py @@ -512,9 +512,6 @@ class cmd_domain_dcpromo(Command): else: logger.setLevel(logging.INFO) - if site is None: - site = "Default-First-Site-Name" - netbios_name = lp.get("netbios name") if not role is None: