Fix outdated package detection

This commit is contained in:
jack1142
2022-01-17 23:59:35 +01:00
parent 8c92bcc10e
commit af4fae722e

View File

@@ -136,7 +136,7 @@ class Cargo(object):
installed_version = self.get_installed().get(name)
cmd = ["search", name, "--limit", "1"]
data = self._exec(cmd, True, False, False)
data, dummy = self._exec(cmd, True, False, False)
match = re.search(r'"(.+)"', data)
if match: