[Checkins] SVN: hurry.resource/branches/janjaapdriessen-resource-publisher/src/hurry/resource/wsgi.py Remove cargo cult copied obsolete code

Jan-Jaap Driessen jdriessen at thehealthagency.com
Fri Nov 12 15:37:53 EST 2010


Log message for revision 118387:
  Remove cargo cult copied obsolete code

Changed:
  U   hurry.resource/branches/janjaapdriessen-resource-publisher/src/hurry/resource/wsgi.py

-=-
Modified: hurry.resource/branches/janjaapdriessen-resource-publisher/src/hurry/resource/wsgi.py
===================================================================
--- hurry.resource/branches/janjaapdriessen-resource-publisher/src/hurry/resource/wsgi.py	2010-11-12 20:00:55 UTC (rev 118386)
+++ hurry.resource/branches/janjaapdriessen-resource-publisher/src/hurry/resource/wsgi.py	2010-11-12 20:37:52 UTC (rev 118387)
@@ -32,12 +32,6 @@
             response.body = needed.render_topbottom_into_html(response.body)
         return response(environ, start_response)
 
-        needed = environ.get('hurry.resource.needed', None)
-        if needed is None:
-            return res(environ, start_response)
-        res.body = needed.render_topbottom_into_html(res.body)
-        return res(environ, start_response)
 
-
 def make_inject(app, global_config, **local_config):
     return InjectMiddleWare(app)



More information about the checkins mailing list