aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--b4/__init__.py2
1 files changed, 1 insertions, 1 deletions
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)