Commits

mitsuhiko  committed ea08c94

Fixed File.__getattr__. (#356)

  • Participants
  • Parent commits 04052cd

Comments (0)

Files changed (2)

 - Fixed `Headers.pop` (#349).  default parameter was not properly
   handled.
 - Fixed UnboundLocalError in `create_environ` (#351)
+- `Headers` is more compatible with wsgiref now.
+- `Template.render` accepts multidicts now.
 
 Version 0.4
 -----------

File werkzeug/test.py

         self.filename = filename
         self.mimetype = mimetype or 'application/octet-stream'
 
-    def getattr(self, name):
+    def __getattr__(self, name):
         return getattr(self.stream, name)
 
     def __repr__(self):