Mercurial > p > roundup > code
diff test/test_templating.py @ 4728:4caa6de726a5
templating: Rename 'extension' argument in Loader.load() to 'view'
to avoid confusion with file extension, and because this is what
this argument really does - specifies a different view for a class.
| author | anatoly techtonik <techtonik@gmail.com> |
|---|---|
| date | Mon, 14 Jan 2013 00:13:58 +0300 |
| parents | 5033c2ad80a7 |
| children | fe9568a6cbd6 |
line wrap: on
line diff
--- a/test/test_templating.py Sun Jan 13 22:39:46 2013 +0300 +++ b/test/test_templating.py Mon Jan 14 00:13:58 2013 +0300 @@ -336,7 +336,7 @@ class Unauthorised(Exception): def __init__(self, action, klass): def __str__(self): -def find_template(dir, name, extension): +def find_template(dir, name, view): class Loader: def __init__(self, dir):
