ianweller/python-simplemediawiki — pull request #8 by Kogelvis (2013-10-21 13:05:23+00:00)
Title: Modified constructor if statement

Modified if statement to check if cookiejar is not None, because cookiejars support the iterator
protocol. If you create a cookiejar and supply it to the constructor it will have no cookies to
iterate and therefore cookiejar will be 0 and "if cookiejar:" will result in "False".
But you want to use the supplied cookiejar, this happens if you compare it to None.