diff options
| author | Nick Mathewson <nickm@torproject.org> | 2007-09-15 17:54:07 +0000 |
|---|---|---|
| committer | Nick Mathewson <nickm@torproject.org> | 2007-09-15 17:54:07 +0000 |
| commit | 49e1f6fcc01a8f74405c838e1d382b4f3a42ec77 (patch) | |
| tree | a9f0eeb1a5a4b1b39b710bbb5368d99b461b56e0 /rank.py | |
| parent | 31d6fdbde709c88d2b2df801af9397ef6cd6c2d1 (diff) | |
| download | anonbib-49e1f6fcc01a8f74405c838e1d382b4f3a42ec77.tar.gz | |
r15073@catbus: nickm | 2007-09-15 13:50:49 -0400
Clean up warnings.
svn:r244
Diffstat (limited to 'rank.py')
| -rw-r--r-- | rank.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -118,8 +118,8 @@ def get_rank_html(title, years=None, base_url=".", update=True, def TestScholarFormat(): # We need to ensure that Google Scholar does not change its page format under our feet # Use some cases to check if all is good - assert(getCite("Stop-and-Go MIXes: Providing Probabilistic Anonymity in an Open System", False) > 0) - assert(getCite("Mixes protected by Dragons and Pixies: an empirical study", False) == None) + assert(getCite("Stop-and-Go MIXes: Providing Probabilistic Anonymity in an Open System", False)[0] > 0) + assert(getCite("Mixes protected by Dragons and Pixies: an empirical study", False)[0] == None) if __name__ == '__main__': # First download the bibliography file. |
