#525 check_branch: Fix backwards error message
Merged 9 months ago by onosek. Opened 9 months ago by otaylor.
otaylor/fedpkg not-active-release  into  master

file modified
+1 -1
@@ -1167,7 +1167,7 @@ 

                      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)

  

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 otaylor@fishsoup.net

Pull-Request has been merged by onosek

9 months ago
Metadata