X-Git-Url: http://git.pld-linux.org/?p=projects%2Fpld-ftp-admin.git;a=blobdiff_plain;f=wwwbin%2Fftp-freshness.py;fp=wwwbin%2Fftp-freshness.py;h=8ba9f3afd6af9001c840d74c22fb4c2329ed3e42;hp=924f737d0409391ed3427f7364a9ee65d9c16a01;hb=62e0054acab09997ec2f80720a21beb0d7d95bd4;hpb=2086ad423ac5b636bf1dee52a11b64941d23be7e diff --git a/wwwbin/ftp-freshness.py b/wwwbin/ftp-freshness.py index 924f737..8ba9f3a 100755 --- a/wwwbin/ftp-freshness.py +++ b/wwwbin/ftp-freshness.py @@ -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