createrepo/__init__.py

[email protected] (Ville Skytt??) Thu, 24 Feb 2011 21:54:08 +0000 (UTC)
Newsgroups gmane.linux.rpm.metadata
Message-ID <[email protected]>
 createrepo/__init__.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1150b0711cfac4eb4ecff5ecc07477ffa1c61754
Author: Ville Skyttä <[email protected]>
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:

_______________________________________________
Rpm-metadata mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/rpm-metadata