Changeset 115

Show
Ignore:
Timestamp:
09/22/07 17:08:22
Author:
thejimmyg
Message:

Applying w31rd0's patch to fix #35

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • AuthKit/branches/0.4/authkit/authenticate/forward.py

    r68 r115  
    2424        try: 
    2525            result = [] 
    26             for data in self.application(environ, start_response): 
     26            app_iter = self.application(environ, start_response) 
     27            for data in app_iter: 
    2728                result.append(data) 
     29            if hasattr(app_iter, 'close'): 
     30                app_iter.close() 
    2831            return result 
    2932        except ForwardRequestException, e: