148
148
def sendFileToSlave(self, sha1, url, username="", password=""):
149
149
d = self.ensurepresent(sha1, url, username, password)
150
151
def check_present((present, info)):
152
153
raise CannotFetchFile(url, info)
153
155
return d.addCallback(check_present)
155
157
def cacheFile(self, logger, libraryfilealias):