mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-06 05:30:57 +00:00
+3
-3
@@ -25,10 +25,10 @@ try:
|
||||
swift_conn = swiftclient.Connection(auth_url, auth_username,
|
||||
auth_password, auth_version=1)
|
||||
else:
|
||||
print "Swift tests disabled: OpenStack creds not found in the environment"
|
||||
print("Swift tests disabled: OpenStack creds not found in the environment")
|
||||
swift_conn = None
|
||||
except ImportError, e:
|
||||
print "Swift tests disabled: unable to import swiftclient", e
|
||||
except ImportError as e:
|
||||
print("Swift tests disabled: unable to import swiftclient", e)
|
||||
swift_conn = None
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user