summaryrefslogtreecommitdiffstats
path: root/python/mozbuild/mozbuild/vendor/rewrite_mozbuild.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/mozbuild/mozbuild/vendor/rewrite_mozbuild.py')
-rw-r--r--python/mozbuild/mozbuild/vendor/rewrite_mozbuild.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/mozbuild/mozbuild/vendor/rewrite_mozbuild.py b/python/mozbuild/mozbuild/vendor/rewrite_mozbuild.py
index 8163c05dc3..5434510bb0 100644
--- a/python/mozbuild/mozbuild/vendor/rewrite_mozbuild.py
+++ b/python/mozbuild/mozbuild/vendor/rewrite_mozbuild.py
@@ -822,7 +822,7 @@ def edit_moz_build_file_to_remove_file(
"""
simple_file_line = re.compile(
- "^\s*['\"]" + unnormalized_filename_to_remove + "['\"],*$"
+ "^\\s*['\"]" + unnormalized_filename_to_remove + "['\"],*$"
)
did_replace = False