Discussion:
createrepo/__init__.py
Ville SkyttÀ
2011-02-24 21:54:08 UTC
Permalink
createrepo/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1150b0711cfac4eb4ecff5ecc07477ffa1c61754
Author: Ville SkyttÀ <***@iki.fi>
Date: Thu Feb 24 22:33:11 2011 +0200

Fix handling remote packages when writing metadata.

diff --git a/createrepo/__init__.py b/createrepo/__init__.py
index 44a9e82..5f0ba6f 100644
--- a/createrepo/__init__.py
+++ b/createrepo/__init__.py
@@ -589,7 +589,7 @@ class MetaDataGenerator:
# if we're dealing with remote pkgs - pitch it over to doing
# them one at a time, for now.
elif pkg.find('://') != -1:
- po = self.read_in_package(pkgfile, pkgpath=pkgpath, reldir=reldir)
+ po = self.read_in_package(pkg, pkgpath=pkgpath, reldir=reldir)
self.read_pkgs.append(pkg)

if po:

Loading...