Python 3 compat changes

Change-Id: I2a474eb021392951aa02a3c4899fd1f01be19b1a
This commit is contained in:
Nathan Buckner 2016-09-14 13:39:52 -05:00
parent 124c0923f7
commit afdd1441be
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ class CreateSecurityGroupRule(AutoMarshallingModel):
@summary: Converts the object to json.
"""
ret = {'security_group_rule': self.__dict__}
print ret
print(ret)
return json.dumps(ret)
def _obj_to_xml(self):

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
"""
from urlparse import urlparse
from six.moves.urllib_parse import urlparse
from cafe.engine.http.client import AutoMarshallingHTTPClient
from cloudcafe.compute.flavors_api.models.flavor import \