From: sinhan Date: Thu, 18 May 2017 21:16:44 +0000 (+0000) Subject: RIFT 16618 access checksum validation information through a different property. X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=a7a67bee5f52f218713f1936d9a8fbcd432c275c;p=osm%2FSO.git RIFT 16618 access checksum validation information through a different property. Signed-off-by: sinhan --- diff --git a/rwlaunchpad/plugins/rwlaunchpadtasklet/rift/tasklets/rwlaunchpad/uploader.py b/rwlaunchpad/plugins/rwlaunchpadtasklet/rift/tasklets/rwlaunchpad/uploader.py index ed3e683b..e89c50a6 100644 --- a/rwlaunchpad/plugins/rwlaunchpadtasklet/rift/tasklets/rwlaunchpad/uploader.py +++ b/rwlaunchpad/plugins/rwlaunchpadtasklet/rift/tasklets/rwlaunchpad/uploader.py @@ -413,13 +413,13 @@ class UpdatePackage(downloader.DownloaderProtocol): checksum_validator = rift.package.package.PackageChecksumValidator(self.log) try: - file_checksums = checksum_validator.validate(package) + checksum_validator.validate(package) except rift.package.package.PackageFileChecksumError as e: raise MessageException(UpdateChecksumMismatch(e.filename)) from e except rift.package.package.PackageValidationError as e: raise MessageException(UpdateUnreadablePackage()) from e - return file_checksums + return checksum_validator.checksums def update_descriptors(self, package): descriptor_msg = package.descriptor_msg