download.py: fix IDownloader to take a URI
authorBrian Warner <warner@lothar.com>
Fri, 19 Jan 2007 09:17:48 +0000 (02:17 -0700)
committerBrian Warner <warner@lothar.com>
Fri, 19 Jan 2007 09:17:48 +0000 (02:17 -0700)
src/allmydata/download.py

index 94ccf50ff352c73928d5def730d1feec270e90d1..10c77895484431e8c2883ad3d2f8cb5261127c79 100644 (file)
@@ -223,7 +223,7 @@ class FileHandle:
         pass
 
 class IDownloader(Interface):
-    def download(verifierid, target):
+    def download(uri, target):
         pass
 
 class Downloader(service.MultiService):