Python 3: fix relative imports

On Python 3, imports are absolute by default. By default, OpenStack
coding style requires to use relative imports.

Fix imports two use the full "path" to relative imports.

Partially implements: blueprint trove-python3
Change-Id: I2866fdc1a39fb3a20d8384a4082ca468b57d92d3
This commit is contained in:
Victor Stinner
2016-04-20 15:28:50 +02:00
parent f066d6963f
commit 74e2aaabe5
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -18,10 +18,10 @@ import re
from oslo_log import log as logging
from oslo_utils import strutils
import webob.exc
import wsgi
from trove.common import exception
from trove.common.i18n import _
from trove.common import wsgi
LOG = logging.getLogger(__name__)
@@ -24,12 +24,11 @@ from .service.install import PgSqlInstall
from .service.root import PgSqlRoot
from .service.status import PgSqlAppStatus
import pgutil
from trove.common import cfg
from trove.common.notification import EndNotification
from trove.common import utils
from trove.guestagent import backup
from trove.guestagent.datastore.experimental.postgresql import pgutil
from trove.guestagent.datastore import manager
from trove.guestagent import guest_log
from trove.guestagent import volume