aboutsummaryrefslogtreecommitdiff
path: root/b4/mbox.py
diff options
context:
space:
mode:
authorKonstantin Ryabitsev <konstantin@linuxfoundation.org>2020-03-20 16:41:41 -0400
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2020-03-20 16:41:41 -0400
commit38657d271b64d604ed7a3ae57f3c3f0cf695b065 (patch)
treee806e289865f904dd7b69f1e3b3541845aef3632 /b4/mbox.py
parent0f63a3f6a7398321bd799c7b778e0e721c811287 (diff)
downloadb4-38657d271b64d604ed7a3ae57f3c3f0cf695b065.tar.gz
Force nocache if we're running with -c
Checking for newer versions always requires going out to lore.kernel.org, so force nocache operation. Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Diffstat (limited to 'b4/mbox.py')
-rw-r--r--b4/mbox.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/b4/mbox.py b/b4/mbox.py
index ccd15ed..f4ae178 100644
--- a/b4/mbox.py
+++ b/b4/mbox.py
@@ -358,6 +358,10 @@ def get_newest_series(mboxfile):
def main(cmdargs):
+ if cmdargs.checknewer:
+ # Force nocache mode
+ cmdargs.nocache = True
+
config = b4.get_main_config()
if not cmdargs.localmbox: