Merge "Importing from trove-client compat"

This commit is contained in:
Jenkins 2013-11-13 17:02:13 +00:00 committed by Gerrit Code Review
commit 3649ac7d23
1 changed files with 5 additions and 1 deletions

View File

@ -41,6 +41,10 @@ from swiftclient import client as swift_client
try:
from troveclient import client as trove_client
with_trove = True
except ImportError:
try:
from troveclient.compat import client as trove_client
with_trove = True
except ImportError:
with_trove = False