diff options
Diffstat (limited to 'checkout.py')
-rwxr-xr-x | checkout.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/checkout.py b/checkout.py index 5b25758..9e1c6d0 100755 --- a/checkout.py +++ b/checkout.py @@ -5,7 +5,6 @@ # Part of the Jellyfin CI system ############################################################################### -import os.path from subprocess import run, PIPE import sys @@ -36,10 +35,12 @@ for submodule in this_repo.submodules: # Validate that the provided tag is valid; if not, fall back to "master" if target_release != "master": if ( - target_release not in submodules["jellyfin-server"].tags or - target_release not in submodules["jellyfin-web"].tags - ): - print(f"WARNING: Provided tag {target_release} is not a valid tag for both jellyfin-server and jellyfin-web; using master instead") + target_release not in submodules["jellyfin-server"].tags + or target_release not in submodules["jellyfin-web"].tags + ): + print( + f"WARNING: Provided tag {target_release} is not a valid tag for both jellyfin-server and jellyfin-web; using master instead" + ) target_release = "master" for submodule in submodules.keys(): |