Commit 9a9d0357 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

snf-common fixes

parent a0b560fd
README
=======
Synnefo top level package
snf-common provides a base layer of all synnefo related software.
......@@ -27,10 +27,9 @@ def extend_settings(ns, module_name):
for e in app_entry_points:
try:
NEW_INSTALLED_APPS = list(e.load()())
except Exception, e:
for e in app_entry_points:
NEW_INSTALLED_APPS = NEW_INSTALLED_APPS + \
e.module_name.split(",")
except Exception, ex:
NEW_INSTALLED_APPS = NEW_INSTALLED_APPS + \
e.module_name.split(",")
# extend additional settings
# TODO: existing settings logic ??
......
......@@ -7,7 +7,7 @@ def get_dist_from_module(modname):
def get_dist(dist_name):
return pkg_resouces.get_distribution(dist_name)
return pkg_resources.get_distribution(dist_name)
def get_dist_version(dist_name):
......
Markdown is supported
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