From a68fc5d69c67c5b79206a274e834d1d2856c932d Mon Sep 17 00:00:00 2001 From: Konstantin Ryabitsev Date: Thu, 1 Sep 2022 16:48:42 -0400 Subject: Fix regression that resulted in ignored -p Looks like at some point we started ignoring the -p flag, so restore this to the expected functionality Signed-off-by: Konstantin Ryabitsev --- b4/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/b4/__init__.py b/b4/__init__.py index 4414b85..903a74a 100644 --- a/b4/__init__.py +++ b/b4/__init__.py @@ -2564,7 +2564,7 @@ def get_pi_thread_by_msgid(msgid: str, useproject: Optional[str] = None, nocache # In fact, /all/ naming is arbitrary, but for now we are going to # hardcode it to lore.kernel.org settings and maybe make it configurable # in the future, if necessary. - if loc.path.startswith('/all/'): + if loc.path.startswith('/all/') and not useproject: useproject = 'all' if useproject: projurl = '%s://%s/%s' % (loc.scheme, loc.netloc, useproject) -- cgit v1.2.3