Skip to content
Snippets Groups Projects
Commit 3f785ba6 authored by Sebastian Lobinger's avatar Sebastian Lobinger
Browse files

update sams_classes/sams_hub.py remove useless function __modules_yaml

parent 856e48b5
No related branches found
No related tags found
No related merge requests found
......@@ -40,15 +40,6 @@ class SAMSHub:
except:
raise AppNotExist
def __modules_yaml(self):
try:
ymlFile = open(os.path.join(self.__confDir, 'modules.yaml'), 'r')
modules = yaml.load(ymlFile)
ymlFile.close()
except IOError as err:
modules = []
return modules
def __add_urls(self, module):
for view in self.__manifests[module].get('views', []):
pathElements = [module]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment