Revision: 4440
Author: cosoleto
Date: 2007-10-10 10:37:18 +0000 (Wed, 10 Oct 2007)
Log Message:
-----------
fix
Modified Paths:
--------------
trunk/pywikipedia/copyright.py
Modified: trunk/pywikipedia/copyright.py
===================================================================
--- trunk/pywikipedia/copyright.py 2007-10-10 09:39:51 UTC (rev 4439)
+++ trunk/pywikipedia/copyright.py 2007-10-10 10:37:18 UTC (rev 4440)
@@ -825,7 +825,7 @@
comment.append('[http://www.google.com/search?sourceid=navclient&q=… Google
cache]' % short_url(add_item))
elif engine == 'yahoo':
#cache = False
- comment.append('[%s Yahoo cache]' %
re.sub('&appid=[^&]*','', urllib.unquote(cache_url)))
+ comment.append('[%s Yahoo cache]' %
re.sub('&appid=[^&]*','', urllib2.unquote(cache_url)))
elif engine == 'msn':
comment.append('[%s Live cache]' %
re.sub('&lang=[^&]*','', cache_url))
else: