From 333773f296977c19ba9c53fdb9e9bf41d334fc7c Mon Sep 17 00:00:00 2001
From: Piotr Gawron <piotr.gawron@uni.lu>
Date: Tue, 24 Aug 2021 10:47:41 +0200
Subject: [PATCH] continue statement is unnecessary

---
 .pylintrc                      | 1 -
 smash/web/importer/importer.py | 1 -
 2 files changed, 2 deletions(-)

diff --git a/.pylintrc b/.pylintrc
index 256c6d80..0364dce7 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -55,7 +55,6 @@ disable=
     E1003, # bad-super-call
     R0911, # too-many-return-statements
     W0120, # useless-else-on-loop
-    R1724, # no-else-continue
 
 [FORMAT]
 # Maximum number of characters on a single line.
diff --git a/smash/web/importer/importer.py b/smash/web/importer/importer.py
index 98d0c6ba..a3e7c475 100644
--- a/smash/web/importer/importer.py
+++ b/smash/web/importer/importer.py
@@ -38,7 +38,6 @@ class Importer(EtlCommon):
                 if study_subject.study != self.reader.import_data.study or study_subject.study.id is None:
                     self.problematic_count += 1
                     logger.warning("Empty study found. Ignoring")
-                    continue
                 else:
                     self.import_study_subject(study_subject)
             except BaseException as e:
-- 
GitLab