summaryrefslogtreecommitdiffstats
path: root/dom/media/webrtc/third_party_build/filter_git_changes.py
diff options
context:
space:
mode:
Diffstat (limited to 'dom/media/webrtc/third_party_build/filter_git_changes.py')
-rw-r--r--dom/media/webrtc/third_party_build/filter_git_changes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/media/webrtc/third_party_build/filter_git_changes.py b/dom/media/webrtc/third_party_build/filter_git_changes.py
index ee6cdbcbd9..86358b0b01 100644
--- a/dom/media/webrtc/third_party_build/filter_git_changes.py
+++ b/dom/media/webrtc/third_party_build/filter_git_changes.py
@@ -48,7 +48,7 @@ def filter_git_changes(github_path, commit_sha, diff_filter):
# out the excluded directory paths (note the lack of trailing '$'
# in the regex).
regex_excludes = "|".join(
- ["^(M|A|D|R\d\d\d)\t{}".format(i) for i in exclude_dir_list]
+ ["^(M|A|D|R\\d\\d\\d)\t{}".format(i) for i in exclude_dir_list]
)
files_not_excluded = [
path for path in changed_files if not re.findall(regex_excludes, path)