From f612e250a402ae5e6a86f711d84c6b641a3d2b22 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Sat, 16 Aug 2008 05:10:22 +0000 Subject: [PATCH] Revert "use correct field names" This reverts commit f50c6be13c107a29ed5241c52b3e5c8928bed7bd. --- daklib/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daklib/utils.py b/daklib/utils.py index 7ff93192..75845244 100755 --- a/daklib/utils.py +++ b/daklib/utils.py @@ -292,7 +292,7 @@ def ensure_hashes(changes, dsc, files, dsc_files): for m in create_hash(files, h, f, files): rejmsg.append(m) else: - for m in check_hash(".changes %s" % (h), files, '%ssum' % h, f, files): + for m in check_hash(".changes %s" % (h), files, h, f, files): rejmsg.append(m) except NoFilesFieldError: rejmsg.append("No Checksums-%s: field in .changes" % (h)) @@ -308,7 +308,7 @@ def ensure_hashes(changes, dsc, files, dsc_files): for m in create_hash(dsc_files, h, f, dsc_files): rejmsg.append(m) else: - for m in check_hash(".dsc %s" % (h), dsc_files, '%ssum' % h, f, dsc_files): + for m in check_hash(".dsc %s" % (h), dsc_files, h, f, dsc_files): rejmsg.append(m) except UnknownFormatError, format: rejmsg.append("%s: unknown format of .dsc" % (format)) -- 2.39.5