commit
aa8e886745
2 changed files with 1 additions and 7 deletions
|
@ -3,7 +3,7 @@ from .base import *
|
|||
ADMINS = (
|
||||
('Nico Schottelius', 'nico.schottelius@ungleich.ch'),
|
||||
('Raul Ascencio', 'raul.ascencio@yandex.com'),
|
||||
('Tomislav Rupcic','tmslav@gmail.com'),
|
||||
('Web team', 'web-team@ungleich.ch')
|
||||
|
||||
)
|
||||
# ('Sanghee Kim', 'sanghee.kim@ungleich.ch'),
|
||||
|
|
|
@ -212,18 +212,12 @@ class OpenNebulaManager():
|
|||
return template_pool
|
||||
|
||||
def get_templates(self):
|
||||
print("TEMPLATES")
|
||||
print(self._get_template_pool())
|
||||
|
||||
try:
|
||||
public_templates = [
|
||||
template
|
||||
for template in self._get_template_pool()
|
||||
if 'public-' in template.name
|
||||
]
|
||||
print("TEMPLATES")
|
||||
print(public_templates)
|
||||
|
||||
return public_templates
|
||||
except ConnectionRefusedError:
|
||||
return []
|
||||
|
|
Loading…
Reference in a new issue