Skip to content

Commit

Permalink
Merge pull request #93 from mathieu1/dont_ignore_settings
Browse files Browse the repository at this point in the history
Don't ignore some settings
  • Loading branch information
Rich Jones committed May 17, 2016
2 parents 81672ef + 552d76a commit 1202044
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions zappa/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,8 +449,8 @@ def create_package(self):
self.zip_path = self.zappa.create_lambda_zip(
self.lambda_name,
handler_file=handler_file,
use_precompiled_packages=self.zappa_settings.get('use_precompiled_packages', True),
exclude=self.zappa_settings.get('exclude', [])
use_precompiled_packages=self.zappa_settings[self.api_stage].get('use_precompiled_packages', True),
exclude=self.zappa_settings[self.api_stage].get('exclude', [])
)

# Throw our setings into it
Expand Down Expand Up @@ -549,4 +549,4 @@ def handle(): # pragma: no cover
print(e)

if __name__ == '__main__': # pragma: no cover
handle()
handle()

0 comments on commit 1202044

Please sign in to comment.