Revision cd5033bd snf-pithos-backend/pithos/backends/lib/sqlalchemy/alembic/versions/165ba3fbfe53_update_path_account.py
b/snf-pithos-backend/pithos/backends/lib/sqlalchemy/alembic/versions/165ba3fbfe53_update_path_account.py | ||
---|---|---|
27 | 27 |
try: |
28 | 28 |
uuid = get_user_uuid(SERVICE_TOKEN, account, USER_INFO_URL) |
29 | 29 |
except Exception, e: |
30 |
print e
|
|
30 |
print 'Unable to retrieve uuid for %s: %s' % (account, e)
|
|
31 | 31 |
return |
32 | 32 |
else: |
33 | 33 |
if uuid: |
... | ... | |
43 | 43 |
try: |
44 | 44 |
username = get_user_username(SERVICE_TOKEN, account, USER_INFO_URL) |
45 | 45 |
except Exception, e: |
46 |
print e
|
|
46 |
print 'Unable to retrieve username for %s: %s' % (account, e)
|
|
47 | 47 |
return |
48 | 48 |
else: |
49 | 49 |
if username: |
Also available in: Unified diff