Skip to content

Commit

Permalink
Merge pull request #24 from tiagofrepereira2012/master
Browse files Browse the repository at this point in the history
Fixed issue #23 'Test bob.bio.base.test.test_scripts.test_resources f…
  • Loading branch information
tiagofrepereira2012 committed Jun 8, 2016
2 parents 537f20b + aec9a39 commit b4ec169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bob/bio/base/utils/resources.py
Expand Up @@ -224,7 +224,7 @@ def database_directories(strip=['dummy'], replacements = None, package_prefix='b
entry_points = _get_entry_points('database', strip, package_prefix=package_prefix)

dirs = {}
for entry_point in sorted(entry_points):
for entry_point in sorted(entry_points, key=lambda entry_point: entry_point.name):
try:
db = load_resource(entry_point.name, 'database')
db.replace_directories(replacements)
Expand Down

0 comments on commit b4ec169

Please sign in to comment.