From b6ebb609e7a1c2f2b58e62fafa12dada171cb446 Mon Sep 17 00:00:00 2001 From: "David G. Johnston" Date: Mon, 14 Apr 2025 14:57:55 -0700 Subject: [PATCH] minor fixes The patchburner init action in usage should be init-template make fix picked up a == that should be an is --- cfbot_commitfest_rpc.py | 2 +- cfbot_patchburner_ctl.sh | 2 +- cfbot_patchburner_docker_ctl.sh | 2 +- cfbot_patchburner_podman_ctl.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cfbot_commitfest_rpc.py b/cfbot_commitfest_rpc.py index 75ec3a4..eb51d63 100644 --- a/cfbot_commitfest_rpc.py +++ b/cfbot_commitfest_rpc.py @@ -108,7 +108,7 @@ def get_submissions_for_commitfest(commitfest_id): authors = "" td_count = 0 body = cfbot_util.slow_fetch(url, True) - if body == None: + if body is None: return [] for line in body.splitlines(): # maybe it's easier to count rows and columns diff --git a/cfbot_patchburner_ctl.sh b/cfbot_patchburner_ctl.sh index db8150e..a3dbb79 100755 --- a/cfbot_patchburner_ctl.sh +++ b/cfbot_patchburner_ctl.sh @@ -35,7 +35,7 @@ CFBOT_USER=cfbot CFBOT_UID=1002 usage() { - echo "Usage: $1 init|create|apply|destroy" + echo "Usage: $1 init-template|create|apply|destroy" echo echo "init-template -- create a new jail 'patchbase'" echo diff --git a/cfbot_patchburner_docker_ctl.sh b/cfbot_patchburner_docker_ctl.sh index b2163a7..237c14b 100755 --- a/cfbot_patchburner_docker_ctl.sh +++ b/cfbot_patchburner_docker_ctl.sh @@ -8,7 +8,7 @@ TEMPLATE_DIR=patchburner_template MOUNTED_DIR=patchburner_docker usage() { - echo "Usage: $1 init|create|apply|destroy" + echo "Usage: $1 init-template|create|apply|destroy" echo echo "init-template -- create 'patchburner_template'" echo diff --git a/cfbot_patchburner_podman_ctl.sh b/cfbot_patchburner_podman_ctl.sh index 259c264..48495e9 100755 --- a/cfbot_patchburner_podman_ctl.sh +++ b/cfbot_patchburner_podman_ctl.sh @@ -8,7 +8,7 @@ TEMPLATE_DIR=patchburner_template MOUNTED_DIR=patchburner_podman usage() { - echo "Usage: $1 init|create|apply|destroy" + echo "Usage: $1 init-template|create|apply|destroy" echo echo "init-template -- create 'patchburner_template'" echo