diff roundup/cgi/client.py @ 4727:5033c2ad80a7

templating: Rename LoaderBase.get() to LoaderBase.load() for clarity
author anatoly techtonik <techtonik@gmail.com>
date Sun, 13 Jan 2013 22:39:46 +0300
parents 23de24f57566
children 4caa6de726a5
line wrap: on
line diff
--- a/roundup/cgi/client.py	Sun Jan 13 15:12:04 2013 +0300
+++ b/roundup/cgi/client.py	Sun Jan 13 22:39:46 2013 +0300
@@ -1075,7 +1075,7 @@
             'error_message': self.error_message
         }
         try:
-            pt = self.instance.templates.get(name, extension)
+            pt = self.instance.templates.load(name, extension)
             # let the template render figure stuff out
             result = pt.render(self, None, None, **args)
             self.additional_headers['Content-Type'] = pt.content_type

Roundup Issue Tracker: http://roundup-tracker.org/