Skip to content

Commit

Permalink
Remove some blank lines and fixed an import.
Browse files Browse the repository at this point in the history
  • Loading branch information
VJalili committed Apr 3, 2018
1 parent 532c586 commit 9daa216
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/galaxy/managers/cloud.py
Expand Up @@ -13,7 +13,7 @@

try:
from cloudbridge.cloud.factory import CloudProviderFactory, ProviderList
from cloudbridge.cloud.interfaces.exceptions import *
from cloudbridge.cloud.interfaces.exceptions import ProviderConnectionException
except ImportError:
CloudProviderFactory = None
ProviderList = None
Expand Down Expand Up @@ -81,7 +81,6 @@ def _configure_provider(self, provider, credentials):
except ProviderConnectionException as e:
return "400", "Could not authenticate to the '{}' provider. {}".format(provider, e), None


def download(self, trans, history_id, provider, container, obj, credentials):
if CloudProviderFactory is None:
raise Exception(NO_CLOUDBRIDGE_ERROR_MESSAGE)
Expand Down

0 comments on commit 9daa216

Please sign in to comment.