From 76ccb6b55c78c65e588bb269b21897f35cd2ee7c Mon Sep 17 00:00:00 2001 From: Iryna Shcherbina Date: Dec 13 2017 10:30:31 +0000 Subject: Fix not showing f27 branch in the description of the PR --- diff --git a/fixrequires/modifier.py b/fixrequires/modifier.py index 96c48eb..709ebbb 100644 --- a/fixrequires/modifier.py +++ b/fixrequires/modifier.py @@ -105,8 +105,8 @@ class RequiresModifier(object): if unavailable_for_f26 or unavailable_for_f27: branches = ( - 'f26' if unavailable_for_f26 else '' + - ', f27' if unavailable_for_f27 else '') + ('f26' if unavailable_for_f26 else '') + + (', f27' if unavailable_for_f27 else '')) message += ( f'Note: please do not backport this to {branches} branch(es) ' 'as some of the modified requirements are not available there\n\n')