def compute_fields(self):
        if self.ensure_local_file() is not None:
            filehash = md5()
            with open(self.cached_basename + self.src_ext) as f:
                b = f.read(10 * 1024768)
                while b:
                    filehash.update(b)
                    b = f.read(10 * 1024768)

            md5sum = filehash.hexdigest()
            if md5sum != self.resource.md5sum:
                self.resource.md5sum = md5sum
                self.resource.last_change = datetime.utcnow().replace(tzinfo=utc)
The property os_version
dataset/ETHPy150Open hydroshare/hydroshare2/ga_resources/drivers/__init__.py/Driver.compute_fields--crossover with--dataset/ETHPy150Open redhat-imaging/imagefactory/imgfac/Template.py/Template.os_version