Commit b4ec1694 authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira
Browse files

Merge pull request #24 from tiagofrepereira2012/master

Fixed issue #23 'Test bob.bio.base.test.test_scripts.test_resources f…
parents 537f20b9 aec9a39d
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment