summaryrefslogtreecommitdiffstats
path: root/python/samba/drs_utils.py
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2014-06-02 01:33:43 +0200
committerAndrew Bartlett <abartlet@samba.org>2014-10-14 06:44:06 +0200
commitbbaa739bbda4685fa5e38ea0d939496398e11ebf (patch)
tree98667c3fdf178377e86a371014e2fc23cce354cb /python/samba/drs_utils.py
parentbcf298e7eca07a8869d184ad44c01232a11ba9ea (diff)
downloadsamba-bbaa739bbda4685fa5e38ea0d939496398e11ebf.tar.gz
samba-bbaa739bbda4685fa5e38ea0d939496398e11ebf.tar.xz
samba-bbaa739bbda4685fa5e38ea0d939496398e11ebf.zip
Remove remaining instance of pep8 E211 (too many spaces before operator).
Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Change-Id: I9af3bf582bba8fc1094addb12cd0a5ce04406b5b
Diffstat (limited to 'python/samba/drs_utils.py')
-rw-r--r--python/samba/drs_utils.py28
1 files changed, 14 insertions, 14 deletions
diff --git a/python/samba/drs_utils.py b/python/samba/drs_utils.py
index 49837492b7..38accdd6ab 100644
--- a/python/samba/drs_utils.py
+++ b/python/samba/drs_utils.py
@@ -203,24 +203,24 @@ class drs_Replicate(object):
# setup for a GetNCChanges call
req8 = drsuapi.DsGetNCChangesRequest8()
- req8.destination_dsa_guid = destination_dsa_guid
- req8.source_dsa_invocation_id = source_dsa_invocation_id
- req8.naming_context = drsuapi.DsReplicaObjectIdentifier()
- req8.naming_context.dn = dn
- req8.highwatermark = drsuapi.DsReplicaHighWaterMark()
- req8.highwatermark.tmp_highest_usn = 0
- req8.highwatermark.reserved_usn = 0
- req8.highwatermark.highest_usn = 0
- req8.uptodateness_vector = None
+ req8.destination_dsa_guid = destination_dsa_guid
+ req8.source_dsa_invocation_id = source_dsa_invocation_id
+ req8.naming_context = drsuapi.DsReplicaObjectIdentifier()
+ req8.naming_context.dn = dn
+ req8.highwatermark = drsuapi.DsReplicaHighWaterMark()
+ req8.highwatermark.tmp_highest_usn = 0
+ req8.highwatermark.reserved_usn = 0
+ req8.highwatermark.highest_usn = 0
+ req8.uptodateness_vector = None
if replica_flags is not None:
req8.replica_flags = replica_flags
elif exop == drsuapi.DRSUAPI_EXOP_REPL_SECRET:
- req8.replica_flags = 0
+ req8.replica_flags = 0
else:
- req8.replica_flags = (drsuapi.DRSUAPI_DRS_INIT_SYNC |
- drsuapi.DRSUAPI_DRS_PER_SYNC |
- drsuapi.DRSUAPI_DRS_GET_ANC |
- drsuapi.DRSUAPI_DRS_NEVER_SYNCED)
+ req8.replica_flags = (drsuapi.DRSUAPI_DRS_INIT_SYNC |
+ drsuapi.DRSUAPI_DRS_PER_SYNC |
+ drsuapi.DRSUAPI_DRS_GET_ANC |
+ drsuapi.DRSUAPI_DRS_NEVER_SYNCED)
if rodc:
req8.replica_flags |= drsuapi.DRSUAPI_DRS_SPECIAL_SECRET_PROCESSING
else: