[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] tools/queue_rss.py: Fix guid value



see http://feedvalidator.org/docs/error/DuplicateValue.html
---
 tools/queue_rss.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/queue_rss.py b/tools/queue_rss.py
index fd49c0d..88a4380 100755
--- a/tools/queue_rss.py
+++ b/tools/queue_rss.py
@@ -141,6 +141,7 @@ def add_rss_item(status, msg, direction):
 
     link = "https://ftp-master.debian.org/new/%s_%s.html"; % \
             (msg['Source'], msg['Version'])
+    guid = msg['Checksums-Sha256'][0]['sha256']
 
     maintainer = parseaddr(msg['Maintainer'])
     author = "%s (%s)" % (maintainer[1], maintainer[0])
@@ -152,7 +153,7 @@ def add_rss_item(status, msg, direction):
             description = description,
             author = cgi.escape(author),
             link = link,
-            guid = link
+            guid = guid
         )
     )
 
-- 
2.1.4


Reply to: