Skip to content
This repository was archived by the owner on Jun 18, 2020. It is now read-only.

Fix Lambda function coding style #73

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lambda-python-modules
Copy link

@lambda-python-modules lambda-python-modules commented Jun 29, 2017

  1. Modules json and urllib aren't in use and import is increasing cold-start time.
  2. Don't need try-except if nothing to do with exception. Let it fails natural way. It also makes importing print_function unnecessary and improve cold-start time as well.

1. Modules 'json' and 'urllib' aren't in use and import is increasing cold-start time.
2. Don't need try-except if nothing to do with exception. Let it fails natural way. It also makes importing `print_function` unnecessary and improve cold-start time as well.
@lambda-python-modules lambda-python-modules changed the title Fix Lambda function code styling Fix Lambda function coding style Jun 29, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant