Update package import for logging connection
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/0f9f53ea Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/0f9f53ea Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/0f9f53ea Branch: refs/heads/requests Commit: 0f9f53ea3f51a54b0d85d2a378ac2e3ff9f86a3d Parents: 6fd28b6 Author: anthony-shaw <[email protected]> Authored: Tue Mar 29 21:05:22 2016 +1100 Committer: anthony-shaw <[email protected]> Committed: Tue Mar 29 21:05:22 2016 +1100 ---------------------------------------------------------------------- libcloud/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/0f9f53ea/libcloud/__init__.py ---------------------------------------------------------------------- diff --git a/libcloud/__init__.py b/libcloud/__init__.py index bc68d73..256c39c 100644 --- a/libcloud/__init__.py +++ b/libcloud/__init__.py @@ -39,9 +39,9 @@ def enable_debug(fo): :param fo: Where to append debugging information :type fo: File like object, only write operations are used. """ - from libcloud.common.base import (Connection, - LoggingConnection) - LoggingConnection.log = fo + from libcloud.common.base import Connection + from libcloud.utils.loggingconnection import LoggingConnection + LoggingConnection.log = fo Connection.conn_class = LoggingConnection
