viewgit/index.php:465 Only variables should be passed by reference [2048]
viewgit/index.php:466 Non-static method GeSHi::get_language_name_from_extension() should not be called statically [2048]
# # -*- coding: utf-8 -*- from google.appengine.ext.webapp import template import os template_directory = os.path.join(os.path.dirname(__file__), 'templates') def render_template(template_name, values): template_file = os.path.join(template_directory, template_name) if not os.path.exists(template_file) and not template_file.endswith(".html"): template_file += ".html" if not os.path.exists(template_file): raise RuntimeError("No template '%s' found, aborting page rendering" % template_name) return template.render(template_file, values)