[twill] Syntax warning when installing twill

Christoph Zwerschke cito at online.de
Fri Jul 29 02:54:35 PDT 2011


When installing twill, I get a syntax warning about the following 
statement in twill/other_packages/_mechanize_dist/_msiecookiejar.py:

                 assert (sig in ("HASH", "LEAK",
                                 self.padding, "\x00\x00\x00\x00"),
                         "unrecognized MSIE index.dat record: %s" %
                         binary_to_str(sig))

The comma at the beginning of the first line should in fact be at the 
end of the second line:

                 assert sig in ("HASH", "LEAK",
                                 self.padding, "\x00\x00\x00\x00"), (
                         "unrecognized MSIE index.dat record: %s" %
                         binary_to_str(sig))

-- Christoph



More information about the twill mailing list