summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2020-01-26 21:12:52 -0800
committerDavid Lord <davidism@gmail.com>2020-01-26 21:12:52 -0800
commit4a59ac9514d2ec3cfd8a38780ce81a250e31b692 (patch)
treefbf137fd6a5c333ced32436e33b614b1fb722a93 /scripts
parent4ec93a454b9b0a95f3772d56ebdac25702268f68 (diff)
downloadjinja2-4a59ac9514d2ec3cfd8a38780ce81a250e31b692.tar.gz
Revert "rename imports to jinja"
This reverts commit 1167525b73863119f8bbec03ddb9d35eacff4bef.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/generate_identifier_pattern.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/generate_identifier_pattern.py b/scripts/generate_identifier_pattern.py
index b1753f4..5813199 100755
--- a/scripts/generate_identifier_pattern.py
+++ b/scripts/generate_identifier_pattern.py
@@ -58,10 +58,12 @@ def build_pattern(ranges):
def main():
- """Build the regex pattern and write it to ``_identifier.py``."""
+ """Build the regex pattern and write it to
+ ``jinja2/_identifier.py``.
+ """
pattern = build_pattern(collapse_ranges(get_characters()))
filename = os.path.abspath(
- os.path.join(os.path.dirname(__file__), "..", "src", "jinja", "_identifier.py")
+ os.path.join(os.path.dirname(__file__), "..", "src", "jinja2", "_identifier.py")
)
with open(filename, "w", encoding="utf8") as f: