summaryrefslogtreecommitdiff
path: root/boto/cloudfront
diff options
context:
space:
mode:
authorDaniel G. Taylor <danielgtaylor@gmail.com>2014-06-20 14:47:20 -0700
committerDaniel G. Taylor <danielgtaylor@gmail.com>2014-06-27 15:57:24 -0700
commit96cd2800b6db067e503ef499486adf50ee9ca928 (patch)
tree82723b7a0c5b5ac07ea46a69166612efdb1f074f /boto/cloudfront
parent125c4ce8606c959bd4b9e432e96232f48ae49d74 (diff)
downloadboto-96cd2800b6db067e503ef499486adf50ee9ca928.tar.gz
Initial work to support Python 3.3+
This updates most of the code to be forward-compatible with Python 3.3 and 3.4 while still continuing to support 2.6 and 2.7. It **drops** support for Python 2.5. Python 3 support is added for common Boto modules (`boto/*.py`) as well as S3, SQS, Kinesis and CloudTrail. Several other modules may work but have not been thoroughly tested. The `tox` configuration has been updated to run tests for all supported environments, and for now a whitelist is used for Python 3 unit tests. A new porting guide is included to help community members port other modules to Python 3, and both the README and Sphinx index list which modules currently support Python 3.
Diffstat (limited to 'boto/cloudfront')
-rw-r--r--boto/cloudfront/origin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/boto/cloudfront/origin.py b/boto/cloudfront/origin.py
index 57af846e..95ec0d8a 100644
--- a/boto/cloudfront/origin.py
+++ b/boto/cloudfront/origin.py
@@ -20,7 +20,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.
-from identity import OriginAccessIdentity
+from .identity import OriginAccessIdentity
def get_oai_value(origin_access_identity):
if isinstance(origin_access_identity, OriginAccessIdentity):