X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=daklib%2Futils.py;h=7979344dd3271be2f31ecebbf87ce2768be552e7;hb=c0b45d5a9b783027658d7a537c4e8cdbb4a3aec4;hp=86e51a2f5c852f5b8c53b42741db14fcb96265ef;hpb=909521c4292bc9449eddd31b30dd31779a14c886;p=dak.git diff --git a/daklib/utils.py b/daklib/utils.py index 86e51a2f..7979344d 100755 --- a/daklib/utils.py +++ b/daklib/utils.py @@ -394,11 +394,12 @@ def parse_checksums(where, files, manifest, hashname): if not line: break hash, size, file = line.strip().split(' ') + if not files.has_key(file): # TODO: check for the file's entry in the original files dict, not # the one modified by (auto)byhand and other weird stuff - #if not files.has_key(file): # rejmsg.append("%s: not present in files but in checksums-%s in %s" % # (file, hashname, where)) + continue if not files[file]["size"] == size: rejmsg.append("%s: size differs for files and checksums-%s entry "\ "in %s" % (file, hashname, where))