From 974ae600f382e7dcb2d92432b0d1dc0ae4d0015e Mon Sep 17 00:00:00 2001 From: Paul Nilsson Date: Tue, 9 Jul 2024 14:13:31 +0200 Subject: [PATCH] Resource type patch --- PILOTVERSION | 2 +- pilot.py | 2 +- pilot/util/constants.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PILOTVERSION b/PILOTVERSION index c214fbc5..9c0db008 100644 --- a/PILOTVERSION +++ b/PILOTVERSION @@ -1 +1 @@ -3.7.8.21 \ No newline at end of file +3.7.9.1 \ No newline at end of file diff --git a/pilot.py b/pilot.py index 79facd91..3384c3fa 100755 --- a/pilot.py +++ b/pilot.py @@ -253,7 +253,7 @@ def validate_resource_type(value: str) -> str: :raises: argparse.ArgumentTypeError if the resource type is invalid. """ # Define the allowed patterns - allowed_patterns = ["SCORE", "MCORE", "SCORE_*", "MCORE_*"] + allowed_patterns = ["", "SCORE", "MCORE", "SCORE_*", "MCORE_*"] if value in allowed_patterns: return value # Check for pattern matching diff --git a/pilot/util/constants.py b/pilot/util/constants.py index 5a44eda4..ea73065c 100644 --- a/pilot/util/constants.py +++ b/pilot/util/constants.py @@ -27,8 +27,8 @@ # Pilot version RELEASE = '3' # released number should be fixed at 3 for Pilot 3 VERSION = '7' # version number is '1' for first release, '0' until then, increased for bigger updates -REVISION = '8' # revision number should be reset to '0' for every new version release, increased for small updates -BUILD = '21' # build number should be reset to '1' for every new development cycle +REVISION = '9' # revision number should be reset to '0' for every new version release, increased for small updates +BUILD = '1' # build number should be reset to '1' for every new development cycle SUCCESS = 0 FAILURE = 1