From 7f6e4c104c3e73560ef77a5845b0a29047708631 Mon Sep 17 00:00:00 2001 From: Marco Castelluccio Date: Thu, 30 Nov 2023 16:59:34 +0000 Subject: [PATCH] Backed out changeset fec3dc168176 (bug 1866176) for causing bug 1867494 CLOSED TREE UltraBlame original commit: 83540410d1e22cc835d53d6657dd072b4a166d7f --- python/mozbuild/mozpack/files.py | 17 ---------------- python/mozlint/mozlint/cli.py | 35 ++++++++++---------------------- 2 files changed, 11 insertions(+), 41 deletions(-) diff --git a/python/mozbuild/mozpack/files.py b/python/mozbuild/mozpack/files.py index a874ebcdb7699..917b7467095f0 100644 --- a/python/mozbuild/mozpack/files.py +++ b/python/mozbuild/mozpack/files.py @@ -6006,12 +6006,7 @@ . base = -mozpath -. -normsep -( base -) self . @@ -6928,19 +6923,7 @@ . ignore = -tuple -( -mozpath -. -normsep -( -path -) -for -path -in ignore -) self . diff --git a/python/mozlint/mozlint/cli.py b/python/mozlint/mozlint/cli.py index 15d788b705e77..3190572f96c13 100644 --- a/python/mozlint/mozlint/cli.py +++ b/python/mozlint/mozlint/cli.py @@ -3182,13 +3182,13 @@ result . returncode -def -main -( -) -- -> -int +if +__name__ += += +" +__main__ +" : parser @@ -3208,27 +3208,14 @@ ) ) -return -run -( -* -* -args -) -if -__name__ -= -= -" -__main__ -" -: - sys . exit ( -main +run ( +* +* +args ) )