diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/Server/Plugins/Packages.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Packages.py b/src/lib/Server/Plugins/Packages.py index 948d44fec..a60788b16 100644 --- a/src/lib/Server/Plugins/Packages.py +++ b/src/lib/Server/Plugins/Packages.py @@ -379,6 +379,7 @@ class APTSource(Source): Source.__init__(self, basepath, url, version, arches, components, groups, rawurl) self.cachefile = self.escape_url(self.url) + '.data' self.pkgnames = set() + print self.url def save_state(self): cache = file(self.cachefile, 'wb') @@ -391,7 +392,7 @@ class APTSource(Source): self.pkgnames, self.deps, self.provides = cPickle.load(data) def get_urls(self): - return ["%s/dists/%s/%s/binary-%s/Packages.gz" % \ + return ["%sdists/%s/%s/binary-%s/Packages.gz" % \ (self.url, self.version, part, arch) for part in self.components \ for arch in self.arches] urls = property(get_urls) |