diff options
author | Joe Guo <joeg@catalyst.net.nz> | 2018-08-21 11:47:07 +1200 |
---|---|---|
committer | Douglas Bagnall <dbagnall@samba.org> | 2018-08-24 07:49:25 +0200 |
commit | ada5af53f7502aaacd9cebb35a3e3288ec5b24bc (patch) | |
tree | 69db44cccea85a1d0c79f85458b2b660d13575fc /wintest | |
parent | 086daf5f36bb832ced6b5e38ccdbb66e7a2a459e (diff) | |
download | samba-ada5af53f7502aaacd9cebb35a3e3288ec5b24bc.tar.gz |
PEP8: whitespace fixes in wintest.py
Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'wintest')
-rw-r--r-- | wintest/wintest.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/wintest/wintest.py b/wintest/wintest.py index 4fe35e3481a..9e3a66ef025 100644 --- a/wintest/wintest.py +++ b/wintest/wintest.py @@ -394,10 +394,10 @@ controls { ${NAMED_INCLUDE} ''') - + if self.getvar('NAMESERVER_BACKEND') == 'SAMBA_INTERNAL': - self.write_file('etc/named.conf', - ''' + self.write_file('etc/named.conf', + ''' zone "%s" IN { type forward; forward only; @@ -406,8 +406,8 @@ zone "%s" IN { }; }; ''' % (self.getvar('LCREALM'), self.getvar('INTERFACE_IP')), - mode='a') - + mode='a') + # add forwarding for the windows domains domains = self.get_domains() @@ -886,7 +886,7 @@ RebootOnCompletion=No def start_winvm(self, vm): '''start a Windows VM''' self.setwinvars(vm) - + self.info("Joining a windows box to the domain") self.vm_poweroff("${WIN_VM}", checkfail=False) self.vm_restore("${WIN_VM}", "${WIN_SNAPSHOT}") |