Skip to content

Commit

Permalink
Import FlavorError before using it.
Browse files Browse the repository at this point in the history
Fix issue #211.
  • Loading branch information
riccardomurri committed Dec 3, 2015
1 parent 132e50a commit 5932436
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions elasticluster/providers/openstack.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# @(#)openstack.py
#
#
# Copyright (C) 2013 S3IT, University of Zurich. All rights reserved.
# Copyright (C) 2013, 2015 S3IT, University of Zurich. All rights reserved.
#
#
# This program is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -37,8 +37,14 @@
from elasticluster import log
from elasticluster.memoize import memoize
from elasticluster.providers import AbstractCloudProvider
from elasticluster.exceptions import SecurityGroupError, KeypairError, \
ImageError, InstanceError, ClusterError
from elasticluster.exceptions import (
ClusterError,
FlavorError,
ImageError,
InstanceError,
KeypairError,
SecurityGroupError,
)

DEFAULT_OS_NOVA_API_VERSION = "1.1"

Expand Down

0 comments on commit 5932436

Please sign in to comment.