[yum-commits] reposync.py

skvidal at osuosl.org skvidal at osuosl.org
Tue Jun 15 13:22:00 UTC 2010


 reposync.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 72b26cda9d045d8bba353ec43f698a4def53c338
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Tue Jun 15 09:22:42 2010 -0400

    get rid of keys() call to the FileTypes function

diff --git a/reposync.py b/reposync.py
index 4d70e30..7950854 100755
--- a/reposync.py
+++ b/reposync.py
@@ -243,7 +243,7 @@ def main():
                 wanted_types = ['group']
             
             if opts.downloadmd:
-                wanted_types = repo.repoXML.fileTypes.keys()
+                wanted_types = repo.repoXML.fileTypes()
 
             for ftype in repo.repoXML.fileTypes():
                 if ftype in ['primary', 'primary_db', 'filelists',


More information about the Yum-commits mailing list