mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-21 10:58:23 +00:00
Add debug output on tests being skipped
This commit is contained in:
1 parent
72d741a9b7
commit
9a65bbe12c
2 files changed
+6
-2
No files matched your search
+3
-1
@@ -8,8 +8,10 @@ try:
|
||||
if 'AWS_SECRET_ACCESS_KEY' in os.environ and 'AWS_ACCESS_KEY_ID' in os.environ:
|
||||
s3_conn = boto.connect_s3()
|
||||
else:
|
||||
print "S3 tests disabled: AWS creds not found in the environment"
|
||||
s3_conn = None
|
||||
except ImportError:
|
||||
except ImportError, e:
|
||||
print "S3 tests disabled: can't import boto", e
|
||||
s3_conn = None
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user