Skip to content

Commit

Permalink
Merge pull request #137 from PalNilsson/resourcetypepatch
Browse files Browse the repository at this point in the history
3.7.9.1
  • Loading branch information
PalNilsson authored Jul 9, 2024
2 parents 2d660a1 + 974ae60 commit bca2368
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion PILOTVERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.7.8.21
3.7.9.1
2 changes: 1 addition & 1 deletion pilot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions pilot/util/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bca2368

Please sign in to comment.