peterbe/premailer — pull request #66 by alex-offiserv (2014-05-02 06:51:13+00:00)
Title: Fixed multithreading issue #65 ...

by adding critical section via ``RLock`` around ``cssutils`` calls in ``merge_styles`` function.

Also added a unit test. It fails when run on original ``merge_styles``, passes on the commited one.