Minor code changes
This commit is contained in:
parent
338b18d493
commit
e4836ed012
|
@ -13,17 +13,14 @@ var
|
||||||
sdist
|
sdist
|
||||||
develop-eggs
|
develop-eggs
|
||||||
.installed.cfg
|
.installed.cfg
|
||||||
|
|
||||||
# Installer logs
|
# Installer logs
|
||||||
pip-log.txt
|
pip-log.txt
|
||||||
|
|
||||||
# Unit test / coverage reports
|
# Unit test / coverage reports
|
||||||
.coverage
|
.coverage
|
||||||
.tox
|
.tox
|
||||||
|
|
||||||
#Translations
|
#Translations
|
||||||
*.mo
|
*.mo
|
||||||
|
|
||||||
#Mr Developer
|
#Mr Developer
|
||||||
.mr.developer.cfg
|
.mr.developer.cfg
|
||||||
.idea/*
|
.idea/*
|
||||||
|
/.idea/
|
||||||
|
|
|
@ -45,7 +45,6 @@ from occi import backend
|
||||||
from occi import core_model
|
from occi import core_model
|
||||||
from occi import wsgi as occi_wsgi
|
from occi import wsgi as occi_wsgi
|
||||||
from occi.extensions import infrastructure
|
from occi.extensions import infrastructure
|
||||||
from occiosapi.extensions.os_mixins import UserSecurityGroupMixin
|
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
LOG = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
@ -233,7 +232,7 @@ class OCCIApplication(occi_wsgi.Application, wsgi.Application):
|
||||||
|
|
||||||
for group in groups:
|
for group in groups:
|
||||||
if group['name'] not in excld_grps:
|
if group['name'] not in excld_grps:
|
||||||
sec_mix = UserSecurityGroupMixin(
|
sec_mix = os_mixins.UserSecurityGroupMixin(
|
||||||
term=group['name'],
|
term=group['name'],
|
||||||
scheme=sec_grp,
|
scheme=sec_grp,
|
||||||
related=[os_addon.SEC_GROUP],
|
related=[os_addon.SEC_GROUP],
|
||||||
|
|
Loading…
Reference in New Issue