I guess we keep that with us? as being the only consumer? OBS-URL: https://build.opensuse.org/request/show/1002335 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/mozjs102?expand=0&rev=1
26 lines
1.1 KiB
Diff
26 lines
1.1 KiB
Diff
From 00414eb67ab0591911167155963b5524fbf2b0c0 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Franti=C5=A1ek=20Zatloukal?= <fzatlouk@redhat.com>
|
|
Date: Mon, 9 Aug 2021 14:38:58 +0200
|
|
Subject: [PATCH] Don't throw InvalidOptionError on invalid options
|
|
|
|
---
|
|
python/mozbuild/mozbuild/configure/__init__.py | 5 +----
|
|
1 file changed, 1 insertion(+), 4 deletions(-)
|
|
|
|
Index: firefox-102.2.0/python/mozbuild/mozbuild/configure/__init__.py
|
|
===================================================================
|
|
--- firefox-102.2.0.orig/python/mozbuild/mozbuild/configure/__init__.py
|
|
+++ firefox-102.2.0/python/mozbuild/mozbuild/configure/__init__.py
|
|
@@ -557,10 +557,7 @@ class ConfigureSandbox(dict):
|
|
for arg in self._helper:
|
|
without_value = arg.split("=", 1)[0]
|
|
msg = "Unknown option: %s" % without_value
|
|
- if self._help:
|
|
- self._logger.warning(msg)
|
|
- else:
|
|
- raise InvalidOptionError(msg)
|
|
+ self._logger.warning(msg)
|
|
|
|
# Run the execution queue
|
|
for func, args in self._execution_queue:
|