Fix "RuntimeError: maximum recursion depth exceeded" for library manager // Resolve #1528

This commit is contained in:
Ivan Kravets committed 2018-04-25 16:57:43 +03:00
1 parent 1c68409a08
commit 2ae169d210
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -667,7 +667,7 @@ class BasePkgManager(PkgRepoMixin, PkgInstallerMixin):
self.INSTALL_HISTORY = []
history_key = "%s-%s-%s" % (name, requirements or "", url or "")
if history_key in self.INSTALL_HISTORY:
return package_dir
return None
self.INSTALL_HISTORY.append(history_key)
if package_dir and force: