diff options
author | Jan Rękorajski | 2021-02-22 09:12:29 (GMT) |
---|---|---|
committer | Jan Rękorajski | 2021-02-22 09:12:29 (GMT) |
commit | 62e0054acab09997ec2f80720a21beb0d7d95bd4 (patch) | |
tree | d6ecc1f8bd0cf5048156c0b8a33fb3663a8832ac | |
parent | 2086ad423ac5b636bf1dee52a11b64941d23be7e (diff) | |
download | pld-ftp-admin-62e0054acab09997ec2f80720a21beb0d7d95bd4.zip pld-ftp-admin-62e0054acab09997ec2f80720a21beb0d7d95bd4.tar.gz |
fix package header selection in freshness tool
-rwxr-xr-x | wwwbin/ftp-freshness.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |