From df0c46a074833adf034f86eb6fefcdab689b9aba Mon Sep 17 00:00:00 2001 From: Alexander Schlemmer <alexander.schlemmer@ds.mpg.de> Date: Tue, 22 Oct 2019 10:04:50 +0200 Subject: [PATCH] STY: fixed some issues that caused errors in the codestyle pipeline --- src/caosdb/common/models.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/caosdb/common/models.py b/src/caosdb/common/models.py index db17eac3..bfa93ae0 100644 --- a/src/caosdb/common/models.py +++ b/src/caosdb/common/models.py @@ -2518,9 +2518,7 @@ class Container(list): 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() - ) - ) \ + 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