[PATCH 09/50] tests: Python3 does not allow mixed indentation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Masashi Honma <masashi.honma@xxxxxxxxx>
---
 tests/hwsim/test_macsec.py | 10 +++++-----
 tests/hwsim/test_rrm.py    |  4 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/tests/hwsim/test_macsec.py b/tests/hwsim/test_macsec.py
index 8de4bf051..871e465ac 100644
--- a/tests/hwsim/test_macsec.py
+++ b/tests/hwsim/test_macsec.py
@@ -509,13 +509,13 @@ def write_conf(conffile, mka_priority=None):
         f.write("ap_scan=0\n")
         f.write("fast_reauth=1\n")
         f.write("network={\n")
-	f.write("   key_mgmt=NONE\n")
-	f.write("   mka_cak=000102030405060708090a0b0c0d0e0f\n")
-	f.write("   mka_ckn=000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f\n")
+        f.write("   key_mgmt=NONE\n")
+        f.write("   mka_cak=000102030405060708090a0b0c0d0e0f\n")
+        f.write("   mka_ckn=000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f\n")
         if mka_priority is not None:
             f.write("   mka_priority=%d\n" % mka_priority)
-	f.write("   eapol_flags=0\n")
-	f.write("   macsec_policy=1\n")
+        f.write("   eapol_flags=0\n")
+        f.write("   macsec_policy=1\n")
         f.write("}\n")
 
 def run_macsec_psk_ns(dev, apdev, params):
diff --git a/tests/hwsim/test_rrm.py b/tests/hwsim/test_rrm.py
index e498672c3..35de1850c 100644
--- a/tests/hwsim/test_rrm.py
+++ b/tests/hwsim/test_rrm.py
@@ -721,8 +721,8 @@ class BeaconReport:
                 # 2 = all fixed fields and all elements
                 # Fixed fields: Timestamp[8] BeaconInt[2] CapabInfo[2]
                 self.frame_body = report[0:elen]
-	    if eid == 2:
-	        self.frame_body_fragment_id = report[0:elen]
+            if eid == 2:
+                self.frame_body_fragment_id = report[0:elen]
             if eid == 164:
                 self.last_indication = report[0:elen]
             report = report[elen:]
-- 
2.17.1


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux