Fix outdated package detection

pull/4052/head
jack1142 2022-01-17 23:59:35 +01:00
parent 8c92bcc10e
commit af4fae722e
No known key found for this signature in database
GPG Key ID: 95A9D6BCDE5C1283
1 changed files with 1 additions and 1 deletions

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: