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-Tag: v2.0.1~6 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=98226052917c2039d58717c0f09124941bb54546;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