]> err.no Git - dak/commitdiff
Include a trailing newline for the hash.
authorAnsgar Burchardt <ansgar@debian.org>
Fri, 19 Aug 2011 20:06:02 +0000 (20:06 +0000)
committerAnsgar Burchardt <ansgar@debian.org>
Fri, 19 Aug 2011 20:06:02 +0000 (20:06 +0000)
dak/dakdb/update67.py

index 03c3298c1adadc5b386dbd1fd755a20166389b45..2d2d7287dc5f58449dbeb962ee112d0380ce8971 100755 (executable)
@@ -60,7 +60,7 @@ DECLARE
     SELECT
       bm.bin_id AS bin_id,
       description_md5_key_id AS key_id,
-      MD5(bm.value) AS value
+      MD5(bm.value || E'\n') AS value
     FROM binaries_metadata AS bm
     WHERE
       bm.key_id = description_key_id