]> git.pld-linux.org Git - projects/pld-ftp-admin.git/blobdiff - wwwbin/ftp-freshness.py
fix package header selection in freshness tool
[projects/pld-ftp-admin.git] / wwwbin / ftp-freshness.py
index 924f737d0409391ed3427f7364a9ee65d9c16a01..8ba9f3afd6af9001c840d74c22fb4c2329ed3e42 100755 (executable)
@@ -68,7 +68,7 @@ class Pkgs(object):
         try:
             if sys.version_info[0] == 2:
                 s = self.ts.parseSpec(spec)
-                header = s.headers()[2]
+                header = s.headers()[0]
             else:
                 s = rpm.spec(spec)
                 header = s.sourceHeader
This page took 0.1674 seconds and 4 git commands to generate.