[idownloadable] fix download_url prototype: should accept arbitrary kwargs to add as form parameters to the generated url
--- a/entities/adapters.py Fri Jul 16 11:39:28 2010 +0200
+++ b/entities/adapters.py Fri Jul 16 11:41:17 2010 +0200
@@ -159,7 +159,7 @@
__select__ = implements(IDownloadable, warn=False) # XXX for bw compat, else should be abstract
@implements_adapter_compat('IDownloadable')
- def download_url(self): # XXX not really part of this interface
+ def download_url(self, **kwargs): # XXX not really part of this interface
"""return an url to download entity's content"""
raise NotImplementedError
@implements_adapter_compat('IDownloadable')