Permalink
Browse files

core: remove unused code

  • Loading branch information...
billiob committed Jun 19, 2010
1 parent 2a175ca commit 1ea0751853c3956a5bd7e5ffe5c7becf08d1d1cc
Showing with 1 addition and 9 deletions.
  1. +1 −9 amsn2/core/views/stringview.py
@@ -31,7 +31,7 @@ class StringView (object):
UNDERLINE_ELEMENT = "underline"
FONT_ELEMENT = "font"
- # padding ?
+ # padding ?
class StringElement(object):
def __init__(self, type, value):
@@ -132,14 +132,6 @@ def reset_background_color(self):
def reset_font(self):
self.set_font(self._default_font)
-
- def append_elements_from_HTML(self, string):
- """ This method should parse an HTML string and convert it to a
- StringView. It will be extremely comfortable, since most of the
- times our frontends will work with HTML stuff. """
- # TODO: Not so easy... maybe there is a python HTML parser we can use?
- pass
-
def to_HTML_string(self):
""" This method returns a formatted html string with all
the data in the stringview """

0 comments on commit 1ea0751

Please sign in to comment.