From: Seth Vidal Date: Wed, 15 Apr 2009 18:47:29 +0000 (-0400) Subject: it helps to have the right order of items in the pkgtup :( X-Git-Tag: upstream/0.9.9~71 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a9b529f570b916deba9bfc41778519e712a75e2c;p=tools%2Fcreaterepo.git it helps to have the right order of items in the pkgtup :( --- diff --git a/createrepo/__init__.py b/createrepo/__init__.py index cd6fd2c..0d44627 100644 --- a/createrepo/__init__.py +++ b/createrepo/__init__.py @@ -653,10 +653,10 @@ class MetaDataGenerator: targets[drpm_po.pkgtup] = u'' targets[drpm_po.pkgtup] += drpm.xml_dump_metadata() - for (n,e,v,r,a) in targets.keys(): + for (n,a,e,v,r) in targets.keys(): result += """ \n""" % ( n,e,v,r,a) - for src in targets[(n,e,v,r,a)]: + for src in targets[(n,a,e,v,r)]: result += src result += """ \n"""