Commits

Luke Plant  committed 4038fa5

Removed some unused code.

  • Participants
  • Parent commits fcedcfe

Comments (0)

Files changed (1)

File semanticeditor/utils/presentation.py

 
 #### Layout related ####
 
-# Some dumb container structures
-class Content(object):
-    def as_nodes(self):
-        """
-        Returns as list of ElementTree nodes
-        """
-        raise NotImplemented()
-
+# Simple wrapper for nodes to provide as_nodes() method.
 class NodeContent(object):
     def __init__(self, node):
         self.node = node
     def as_nodes(self):
         return [self.node]
 
-
 # Layout contains a list of content, where content can be either ElementTree
 # nodes or LayoutRows.
 class Layout(list):