From 5bab85f0cd76295ce56be58609c1fbcc1f5c6771 Mon Sep 17 00:00:00 2001 From: Daniel <daniel@harvey> Date: Wed, 25 Sep 2019 18:19:02 +0200 Subject: [PATCH] STYLE: More whitespace cleanup. --- src/caosdb/common/models.py | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/caosdb/common/models.py b/src/caosdb/common/models.py index 48aaddc3..72ac620c 100644 --- a/src/caosdb/common/models.py +++ b/src/caosdb/common/models.py @@ -2530,14 +2530,13 @@ class Container(list): sync_remote_entities = [] for remote_entity in remote_container: - if remote_entity.name is not None \ - and (str(remote_entity.name) == str(local_entity.name) or - (name_case_sensitive is False and - str(remote_entity.name).lower() == str( - local_entity.name).lower() - ) - ) \ - and remote_entity not in used_remote_entities: + if (remote_entity.name is not None \ + and (str(remote_entity.name) == str(local_entity.name) + or + (name_case_sensitive is False and + str(remote_entity.name).lower() == str( + local_entity.name).lower())) + and remote_entity not in used_remote_entities): sync_remote_entities.append(remote_entity) used_remote_entities.append(remote_entity) -- GitLab