Fix py3 Syntax error
Change-Id: I1aab038cbd9c010296c8c3aa67ae50b3ee27cfd4
This commit is contained in:
parent
15bcd8c9f3
commit
14774b987b
|
@ -551,7 +551,7 @@ class CephRadosGwBasicDeployment(OpenStackAmuletDeployment):
|
||||||
try:
|
try:
|
||||||
conn.put_container(container)
|
conn.put_container(container)
|
||||||
except swiftclient.exceptions.ClientException as e:
|
except swiftclient.exceptions.ClientException as e:
|
||||||
print "EXCEPTION", e.http_status
|
print("EXCEPTION {}".format(e.http_status))
|
||||||
if e.http_status == 409:
|
if e.http_status == 409:
|
||||||
# Ceph RadosGW is currently configured with a global namespace
|
# Ceph RadosGW is currently configured with a global namespace
|
||||||
# for container names. Make use of this to verify that we
|
# for container names. Make use of this to verify that we
|
||||||
|
|
Loading…
Reference in New Issue