amcfague/webunit2 — pull request #2 by edkurowski (2012-04-03 15:16:51+00:00)
Title: Utils cookie parsing bug

The utils.py code has two things I am trying to change.

1. It looks like the intention was that if the cookie header is invalid, to just log a message and ignore the error.
2. The logic to log the error had a bug, where the log object was never set to anything, and was causing an error when the library received invalid cookie headers.

I made updates to change both. If invalid cookie headers are received, it will now cause an error. Also, the log object in utils.py is initialized so that it can be used to log an error message.