From 49e1f6fcc01a8f74405c838e1d382b4f3a42ec77 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sat, 15 Sep 2007 17:54:07 +0000 Subject: r15073@catbus: nickm | 2007-09-15 13:50:49 -0400 Clean up warnings. svn:r244 --- rank.py | 4 ++-- 1 file 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. -- cgit v1.2.3-70-g09d2