Skip to content
Snippets Groups Projects
Commit c46a15b5 authored by Todd Gamblin's avatar Todd Gamblin
Browse files

Fix dependency bug in database. Fixes #1265, #1320.

parent 4a87d4ab
No related branches found
No related tags found
No related merge requests found
...@@ -436,7 +436,7 @@ def _increment_ref_count(self, spec, directory_layout=None): ...@@ -436,7 +436,7 @@ def _increment_ref_count(self, spec, directory_layout=None):
self._data[key] = InstallRecord(spec.copy(), path, installed) self._data[key] = InstallRecord(spec.copy(), path, installed)
for dep in spec.dependencies('link'): for dep in spec.dependencies(('link', 'run')):
self._increment_ref_count(dep) self._increment_ref_count(dep)
self._data[key].ref_count += 1 self._data[key].ref_count += 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment