Hi,

just a hint for people who wrote their own rendering methods and
change from web.py 0.32 to 0.33. The following code used to work
in web.py 0.32, but must be changed slightly for 0.33:

# copied from web.py 0.32:
class File(Input):
     def render(self):
         x = '<input type="file" name="%s"' % web.net.websafe(self.name)
         x += self.addatts()
         x += ' />'
         x += self.rendernote(self.note)
         return x

With 0.33 addatts() does not produce a leading space anymore.
Just add a space after the preceding attribute.

Greetings

--

You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to we...@googlegroups.com.
To unsubscribe from this group, send email to 
webpy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.


Reply via email to