Python 3 compat changes
Change-Id: I2a474eb021392951aa02a3c4899fd1f01be19b1a
This commit is contained in:
parent
124c0923f7
commit
afdd1441be
|
@ -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):
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue