[Zope-CVS] CVS: Packages/HTMLStructure - Wrapper.py:1.3

Evan Simpson evan@zope.com
Fri, 1 Feb 2002 15:27:30 -0500


Update of /cvs-repository/Packages/HTMLStructure
In directory cvs.zope.org:/tmp/cvs-serv12060

Modified Files:
	Wrapper.py 
Log Message:
Always return a sequence from _attrs()


=== Packages/HTMLStructure/Wrapper.py 1.2 => 1.3 ===
         sub = self.tag[3][0]
         if sub[0] != 'open' or len(sub[3]) < 2 or sub[3][1][0] != 'attrs':
-            return
+            return ()
         get_text = self.parsed_text.elementText
         attrs = []
         for attr in sub[3][1][3]: