From 749895ddd358c542fb0e02955e262ab38889c324 Mon Sep 17 00:00:00 2001 From: sebastien Date: Wed, 23 Oct 2024 15:32:33 +0200 Subject: [PATCH 1/3] Fix ARS-600 --- PatrowlEnginesUtils/PatrowlEngine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PatrowlEnginesUtils/PatrowlEngine.py b/PatrowlEnginesUtils/PatrowlEngine.py index 12e76a9..4ba63cb 100644 --- a/PatrowlEnginesUtils/PatrowlEngine.py +++ b/PatrowlEnginesUtils/PatrowlEngine.py @@ -268,7 +268,7 @@ def _engine_is_busy(self): # TODO rewrite function later if self.scans[scan_id]["status"] in ["SCANNING", "STARTED"]: scans_count += 1 - if scans_count >= APP_MAXSCANS: + if scans_count >= self.max_scans: return True return False From e48e51ccf21ec279e9b1accf07899551fcdda793 Mon Sep 17 00:00:00 2001 From: sebastien Date: Wed, 23 Oct 2024 15:32:44 +0200 Subject: [PATCH 2/3] Updated VERSION (1.2.1rc1) --- PatrowlEnginesUtils/__init__.py | 2 +- VERSION | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PatrowlEnginesUtils/__init__.py b/PatrowlEnginesUtils/__init__.py index 128f993..c530c3c 100644 --- a/PatrowlEnginesUtils/__init__.py +++ b/PatrowlEnginesUtils/__init__.py @@ -3,7 +3,7 @@ __title__ = 'patrowl_engine_utils' -__version__ = '1.2.0' +__version__ = '1.2.1rc1' __author__ = 'Nicolas MATTIOCCO' __license__ = 'AGPLv3' __copyright__ = 'Copyright (C) 2018-2021 Nicolas Mattiocco - @MaKyOtOx' diff --git a/VERSION b/VERSION index 26aaba0..78140bd 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.0 +1.2.1rc1 diff --git a/setup.py b/setup.py index a398ec5..5fdebd6 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name='PatrowlEnginesUtils', - version='1.2.0', + version='1.2.1rc1', description='Common classes for PatrowlEngines', url='https://github.com/Patrowl/PatrowlEnginesUtils', author='Nicolas Mattiocco', From 563f381494bec8a3b6dd9abbe8e82fb1631d6bdc Mon Sep 17 00:00:00 2001 From: sebastien Date: Mon, 28 Oct 2024 13:40:51 +0100 Subject: [PATCH 3/3] Updated VERSION (1.2.1) --- PatrowlEnginesUtils/__init__.py | 2 +- VERSION | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PatrowlEnginesUtils/__init__.py b/PatrowlEnginesUtils/__init__.py index c530c3c..e2688b6 100644 --- a/PatrowlEnginesUtils/__init__.py +++ b/PatrowlEnginesUtils/__init__.py @@ -3,7 +3,7 @@ __title__ = 'patrowl_engine_utils' -__version__ = '1.2.1rc1' +__version__ = '1.2.1' __author__ = 'Nicolas MATTIOCCO' __license__ = 'AGPLv3' __copyright__ = 'Copyright (C) 2018-2021 Nicolas Mattiocco - @MaKyOtOx' diff --git a/VERSION b/VERSION index 78140bd..6085e94 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.1rc1 +1.2.1 diff --git a/setup.py b/setup.py index 5fdebd6..37afd76 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name='PatrowlEnginesUtils', - version='1.2.1rc1', + version='1.2.1', description='Common classes for PatrowlEngines', url='https://github.com/Patrowl/PatrowlEnginesUtils', author='Nicolas Mattiocco',