Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

DE-4751 | Icon, descriptions and divideByZero improvements #39

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

JackThePie
Copy link

Fixes:

  1. Logo is no longer duplicated.
  2. Athena usage descriptions are more appropriate.
  3. s3_usage module: divideByZero exception caught.

}
sclasses_dict = dict()
for sclass in ['size_standard', 'size_ia', 'size_glacier']:
try:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The try...except block can be replaced with:

percent = data[0][sclass] / data[0]['size'] if data[0][size] > 0 else 0

@@ -1,3 +1,4 @@
cryptography==3.1.1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you want to commit any changes in this file? It seems that you don't use those dependencies.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I try to run it locally one lib throws an error about missing Rust compiler and that cryptography cannot be built (like here: https://stackoverflow.com/questions/59441794/error-could-not-build-wheels-for-cryptography-which-use-pep-517-and-cannot-be-i)

@JackThePie JackThePie added the WIP label May 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants