-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Key Vault sample tidying #7224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Key Vault sample tidying #7224
Conversation
|
Can one of the admins verify this patch? |
sdk/keyvault/azure-keyvault-certificates/samples/backup_restore_operations.py
Outdated
Show resolved
Hide resolved
sdk/keyvault/azure-keyvault-certificates/samples/backup_restore_operations.py
Outdated
Show resolved
Hide resolved
| finally: | ||
| print("\nrun_sample done") | ||
| # To ensure key is deleted on the server side. | ||
| print("\nDeleting keys...") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For consistency I think it's better to be print("\n.. Deleting keys")
| finally: | ||
| print("\nrun_sample done") | ||
| # To ensure key is deleted on the server side. | ||
| print("\nDeleting EC Key...") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be print("\n.. Deleting EC Key") for consistency
Some changes across all the samples:
if __name__ == "__main__"from sync samples