diff --git a/pyup/requirements.py b/pyup/requirements.py index ce2a0b4..5c38968 100644 --- a/pyup/requirements.py +++ b/pyup/requirements.py @@ -470,7 +470,7 @@ def get_hashes(self, version): sha256 = item.get("digests", {}).get("sha256", False) if sha256: hashes.append({"hash": sha256}) - return data["hashes"] + return hashes def update_content(self, content, update_hashes=True): if self.file_type == filetypes.tox_ini: