summaryrefslogtreecommitdiff
path: root/wwwbin/ftp-freshness.py
diff options
context:
space:
mode:
Diffstat (limited to 'wwwbin/ftp-freshness.py')
-rwxr-xr-xwwwbin/ftp-freshness.py2
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