Commit b8e8a8f9 authored by John Giannelos's avatar John Giannelos
Browse files

Fixed pyflakes error

parent 5b763467
from snfOCCI.config import SERVER_CONFIG
from kamaki.clients.compute import ComputeClient
from kamaki.clients.cyclades import CycladesClient
from kamaki.config import Config
from occi.backend import ActionBackend, KindBackend
from occi.extensions.infrastructure import COMPUTE, START, STOP, SUSPEND, RESTART
from occi.extensions.infrastructure import START, STOP, SUSPEND, RESTART
from occi.exceptions import HTTPError
......@@ -37,7 +33,6 @@ class ComputeBackend(MyBackend):
for mixin in entity.mixins:
if mixin.related[0].term == 'os_tpl':
image = mixin
image_id = mixin.attributes['']
if mixin.related[0].term == 'resource_tpl':
flavor = mixin
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