Mercurial > p > roundup > code
diff roundup/cgi/engine_zopetal.py @ 7775:b8e63e65d9a8
chore: replace use of dir with template_dir.
variable 'dir' was shadowing a Python builtin.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 04 Mar 2024 18:51:41 -0500 |
| parents | bd4097fa0671 |
| children | 310e19beba3e |
line wrap: on
line diff
--- a/roundup/cgi/engine_zopetal.py Sat Mar 02 13:49:32 2024 -0500 +++ b/roundup/cgi/engine_zopetal.py Mon Mar 04 18:51:41 2024 -0500 @@ -17,8 +17,8 @@ class Loader(TALLoaderBase): templates = {} - def __init__(self, dir): - self.dir = dir + def __init__(self, template_dir): + self.template_dir = template_dir def load(self, tplname): # find the source
