Commits

Sergey Schetinin committed 25df97d

remove dead code from req.str_cookies [from pycon2011 sprint]

  • Participants
  • Parent commits 09058f1

Comments (0)

Files changed (1)

         if source:
             cookies = Cookie(source)
             for name in cookies:
-                value = cookies[name].value
-                if value is None:
-                    continue
-                vars[name] = value
+                vars[name] = cookies[name].value
         env['webob._parsed_cookies'] = (vars, source)
         return vars