aboutsummaryrefslogtreecommitdiff
path: root/wqflask/htmlgen.py
diff options
context:
space:
mode:
authorSam Ockman2012-05-24 02:18:20 -0400
committerSam Ockman2012-05-24 02:18:20 -0400
commit527bb0459cf488e5021696e326dc10d28ecdd74c (patch)
tree097e013d6a876fe0a6e178ff6defa813faa4af93 /wqflask/htmlgen.py
parentaa915612d2ff98f1e31d2ec38e8054382ef75dd9 (diff)
downloadgenenetwork2-527bb0459cf488e5021696e326dc10d28ecdd74c.tar.gz
Trying to get stuff working under new structure
Diffstat (limited to 'wqflask/htmlgen.py')
-rw-r--r--wqflask/htmlgen.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/wqflask/htmlgen.py b/wqflask/htmlgen.py
new file mode 100644
index 00000000..8406d925
--- /dev/null
+++ b/wqflask/htmlgen.py
@@ -0,0 +1,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()