/usr/share/doc/python-genshi-doc/examples/bench/django/templatetags/bench.py is in python-genshi-doc 0.7-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 | from django.template import Library, Node, resolve_variable
from django.utils.html import escape
register = Library()
def greeting(name):
return 'Hello, %s!' % escape(name)
greeting = register.simple_tag(greeting)
|