aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-09-15 17:54:07 +0000
committerNick Mathewson <nickm@torproject.org>2007-09-15 17:54:07 +0000
commit49e1f6fcc01a8f74405c838e1d382b4f3a42ec77 (patch)
treea9f0eeb1a5a4b1b39b710bbb5368d99b461b56e0
parent31d6fdbde709c88d2b2df801af9397ef6cd6c2d1 (diff)
downloadanonbib-49e1f6fcc01a8f74405c838e1d382b4f3a42ec77.tar.gz
r15073@catbus: nickm | 2007-09-15 13:50:49 -0400
Clean up warnings. svn:r244
-rw-r--r--rank.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rank.py b/rank.py
index c7fe75d..128cf97 100644
--- a/rank.py
+++ b/rank.py
@@ -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.