You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by an...@apache.org on 2017/04/24 02:20:34 UTC

[5/6] libcloud git commit: fix etree import

fix etree import


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/b352e504
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/b352e504
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/b352e504

Branch: refs/heads/trunk
Commit: b352e504cce0bec552598c666a7791fa96561d1e
Parents: 0e61f16
Author: Anthony Shaw <an...@apache.org>
Authored: Mon Apr 24 12:01:48 2017 +1000
Committer: Anthony Shaw <an...@apache.org>
Committed: Mon Apr 24 12:01:48 2017 +1000

----------------------------------------------------------------------
 libcloud/storage/drivers/s3.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/b352e504/libcloud/storage/drivers/s3.py
----------------------------------------------------------------------
diff --git a/libcloud/storage/drivers/s3.py b/libcloud/storage/drivers/s3.py
index b73a628..826ed77 100644
--- a/libcloud/storage/drivers/s3.py
+++ b/libcloud/storage/drivers/s3.py
@@ -24,9 +24,9 @@ try:
     if libcloud.utils.py3.DEFAULT_LXML:
         from lxml.etree import Element, SubElement
     else:
-        from xml.etree import Element, SubElement
+        from xml.etree.ElementTree import Element, SubElement
 except ImportError:
-    from xml.etree import Element, SubElement
+    from xml.etree.ElementTree import Element, SubElement
 
 from libcloud.utils.py3 import httplib
 from libcloud.utils.py3 import urlquote