mirror of
https://github.com/samba-team/samba.git
synced 2025-09-16 01:44:21 +03:00
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>
This commit is contained in:
@@ -565,7 +565,7 @@ class cmd_computer_move(Command):
|
||||
if not full_new_ou_dn.is_child_of(domain_dn):
|
||||
full_new_ou_dn.add_base(domain_dn)
|
||||
new_computer_dn = ldb.Dn(samdb, str(computer_dn))
|
||||
new_computer_dn.remove_base_components(len(computer_dn)-1)
|
||||
new_computer_dn.remove_base_components(len(computer_dn) -1)
|
||||
new_computer_dn.add_base(full_new_ou_dn)
|
||||
try:
|
||||
samdb.rename(computer_dn, new_computer_dn)
|
||||
|
Reference in New Issue
Block a user