minor imports problem

This commit is contained in:
David Rose 2009-11-23 22:44:42 +00:00
parent eaa2163cb0
commit e691d3c80f
2 changed files with 1 additions and 5 deletions

View File

@ -30,10 +30,6 @@ class HostInfo:
self.hostDir = hostDir
self.asMirror = asMirror
self.importsDir = None
if self.hostDir:
self.importsDir = Filename(self.hostDir, 'imports')
# hostUrlPrefix is the host URL, but it is guaranteed to end
# with a slash.
self.hostUrlPrefix = hostUrl

View File

@ -2261,7 +2261,7 @@ class Packager:
# Now we've retrieved a PackageInfo. Get the import desc file
# from it.
filename = Filename(host.importsDir, package.importDescFile.basename)
filename = Filename(host.hostDir, 'imports/' + package.importDescFile.basename)
if not appRunner.freshenFile(host, package.importDescFile, filename):
self.notify.error("Couldn't download import file.")
return None