]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ldb:tests:api_simple uses conventional 4 space indent
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Sat, 17 Aug 2024 06:10:02 +0000 (18:10 +1200)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 24 Sep 2024 09:14:38 +0000 (09:14 +0000)
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
lib/ldb/tests/python/api_simple.py

index 4d74e2fe0ea3d4fc57a5b95d4e0e975e51a993bd..33ad0a12c6aaba159a9e4a086773bf02f8d352ec 100644 (file)
@@ -95,9 +95,9 @@ class SimpleLdb(LdbBaseTest):
         except UnicodeDecodeError as e:
                 raise
         except TypeError as te:
-           p3errors = ["argument 2 must be str, not bytes",
-                       "Can't convert 'bytes' object to str implicitly"]
-           self.assertIn(str(te), p3errors)
+            p3errors = ["argument 2 must be str, not bytes",
+                        "Can't convert 'bytes' object to str implicitly"]
+            self.assertIn(str(te), p3errors)
 
     def test_search_attrs(self):
         l = ldb.Ldb(self.url(), flags=self.flags())