Commits

Mike Orr  committed 740b804

Python 2.5 compatibility fix.

  • Participants
  • Parent commits 8627f9e

Comments (0)

Files changed (2)

 
 tip (development version)
 -------------------------
+* webhelpers.html.tags:
+
+  - Python 2.5 compatibility fix.
 
 1.0b2 (2009-12-21)
 ------------------

File webhelpers/html/tags.py

             field = hidden(name, value)
             fields.append(field)
     if fields:
-        div = HTML.div(*fields, style="display:none", _nl=True)
+        div = HTML.div(style="display:none", _nl=True, *fields)
     else:
         div = None
     return HTML.form(div, _closed=False, **attrs)