summaryrefslogtreecommitdiff
path: root/tools/vendored.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/vendored.py')
-rw-r--r--tools/vendored.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/vendored.py b/tools/vendored.py
index a5f3b9f1..7159928a 100644
--- a/tools/vendored.py
+++ b/tools/vendored.py
@@ -37,6 +37,8 @@ def rewrite_jaraco_text(pkg_files, new_root):
text = file.read_text()
text = re.sub(r' (jaraco\.)', rf' {new_root}.\1', text)
text = re.sub(r' (importlib_resources)', rf' {new_root}.\1', text)
+ # suppress loading of lorem_ipsum; ref #3072
+ text = re.sub(r'^lorem_ipsum.*\n$', '', text, flags=re.M)
file.write_text(text)