blob: 8406d92574475e20cec6bc66e1209da7458e0279 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
 | from __future__ import absolute_import, division, print_function
class HTMLgen(object):
    """A redefined HT until we manage to completely eliminate it"""
    def __getattr__(self, name):
        return ""
    def Item(self, *args, **kw):
        print("This way of generating html is obsolete!")
        return "foo"
    Href = Span = TD = Blockquote = Image = Item
HTMLgen2 = HTMLgen()
 |