Skip to content

Commit

Permalink
PEP8: whitespace fixes in wintest.py
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Guo <[email protected]>
Reviewed-by: Andrew Bartlett <[email protected]>
Reviewed-by: Douglas Bagnall <[email protected]>
  • Loading branch information
catalyst-joe-guo authored and douglasbagnall committed Aug 24, 2018
1 parent 086daf5 commit ada5af5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions wintest/wintest.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,10 +394,10 @@ def configure_bind(self, kerberos_support=False, include=None):
${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;
Expand All @@ -406,8 +406,8 @@ def configure_bind(self, kerberos_support=False, include=None):
};
};
''' % (self.getvar('LCREALM'), self.getvar('INTERFACE_IP')),
mode='a')
mode='a')


# add forwarding for the windows domains
domains = self.get_domains()
Expand Down Expand Up @@ -886,7 +886,7 @@ def run_dcpromo_as_first_dc(self, vm, func_level=None):
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}")
Expand Down

0 comments on commit ada5af5

Please sign in to comment.