From 014eca276388dba0d8131e3a48887f594c757616 Mon Sep 17 00:00:00 2001 From: Bo Wang Date: Tue, 12 Jan 2016 16:46:45 +0800 Subject: [PATCH] Use built-in function setattr() directly __builtin__ does not exist in Python 3. setattr() is built-in function in both python2 and python3. ref:https://docs.python.org/2/library/functions.html https://docs.python.org/3/library/functions.html Partially implements: blueprint trove-python3 Change-Id: I652b2b82656826944d17fad07ef9dd2e5d228201 --- trove/instance/models.py | 1 - 1 file changed, 1 deletion(-) diff --git a/trove/instance/models.py b/trove/instance/models.py index 4ede15f6e7..58bfa4c260 100644 --- a/trove/instance/models.py +++ b/trove/instance/models.py @@ -15,7 +15,6 @@ # under the License. """Model classes that form the core of instances functionality.""" -from __builtin__ import setattr from datetime import datetime from datetime import timedelta import re