From 878816107d8609f8d9e2ac4386e63b155d035110 Mon Sep 17 00:00:00 2001 From: Owen W. Taylor Date: Aug 07 2023 12:50:45 +0000 Subject: check_branch: Fix backwards error message When the user requests a branch that matches the branch regex, but is not active, the error message was backwards. Signed-off-by: Owen W. Taylor --- diff --git a/fedpkg/cli.py b/fedpkg/cli.py index f2c41ca..1c70405 100644 --- a/fedpkg/cli.py +++ b/fedpkg/cli.py @@ -1167,7 +1167,7 @@ class fedpkgClient(cliClient): return 'You can\'t provide SLs for release branches' else: if re.match(RELEASE_BRANCH_REGEX, branch): - return '{0} is a current release branch'.format(branch) + return '{0} is release branch, but not active'.format(branch) elif not service_levels: return 'You must provide SLs for non-release branches {0}'.format(branch)