PEP8: whitespace fixes in wintest.py
authorJoe Guo <joeg@catalyst.net.nz>
Mon, 20 Aug 2018 23:47:07 +0000 (11:47 +1200)
committerDouglas Bagnall <dbagnall@samba.org>
Fri, 24 Aug 2018 05:49:25 +0000 (07:49 +0200)
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>
wintest/wintest.py

index 4fe35e3481ab0e03e6dac9a3d53db4e444d08fc2..9e3a66ef02540f93be5bcace93781e71ffa30387 100644 (file)
@@ -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}")