summaryrefslogtreecommitdiff
path: root/lib/ldb
diff options
context:
space:
mode:
authorJoe Guo <joeg@catalyst.net.nz>2018-07-30 18:18:25 +1200
committerDouglas Bagnall <dbagnall@samba.org>2018-08-24 07:49:28 +0200
commit87bbc2df972d112870bb7d5c8839663affe62b21 (patch)
tree165519f190f9d8051c0f56406de925e8ed0c1cb4 /lib/ldb
parent32266d2d48c1c38e54bcfaf1cad36f09e9cff355 (diff)
downloadsamba-87bbc2df972d112870bb7d5c8839663affe62b21.tar.gz
PEP8: fix E226: missing whitespace around arithmetic operator
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 'lib/ldb')
-rwxr-xr-xlib/ldb/tests/python/api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ldb/tests/python/api.py b/lib/ldb/tests/python/api.py
index 0654c2fb971..643cacd0616 100755
--- a/lib/ldb/tests/python/api.py
+++ b/lib/ldb/tests/python/api.py
@@ -2097,7 +2097,7 @@ class DnTests(TestCase):
def test_remove_base_components(self):
x = ldb.Dn(self.ldb, "dc=foo24,dc=samba,dc=org")
- x.remove_base_components(len(x)-1)
+ x.remove_base_components(len(x) - 1)
self.assertEqual("dc=foo24", str(x))
def test_parse_ldif(self):