goobungyas / google-safe-browsing

Automatically exported from code.google.com/p/google-safe-browsing
0 stars 0 forks source link

Bogus assertions warnings when running client #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
python client.py 

h$ python ./client.py 
/Users/nickgalbreath/googlesafebrowsing/server.py:676: SyntaxWarning: assertion 
is always true, perhaps remove parentheses?
  assert(len(self._prefixes),
/Users/nickgalbreath/googlesafebrowsing/server.py:713: SyntaxWarning: assertion 
is always true, perhaps remove parentheses?
  assert(len(self._prefixes),
/Users/nickgalbreath/googlesafebrowsing/server.py:29: DeprecationWarning: the 
sha module is deprecated; use the hashlib module instead
  import sha

Not sure about the sha/hashlib if you are targeting python 2.5, but the 
assertion warnings should not happen.

Original issue reported on code.google.com by nickgsup...@gmail.com on 27 Jul 2010 at 9:57

GoogleCodeExporter commented 9 years ago
These warnings should be fixed in the next release.

Original comment by GCa...@gmail.com on 17 Aug 2010 at 9:14