Skip to content

Commit

Permalink
Merge pull request #1185 from enzosk8/typos
Browse files Browse the repository at this point in the history
Fix general typos
  • Loading branch information
Rich Jones authored Oct 19, 2017
2 parents 0395af8 + 502586b commit f7a7853
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ from nikbora

## 0.28.1
* Add "global" mode to init. Expect a blog post soon!
* Small refactors and dependancy upgrades.
* Small refactors and dependency upgrades.

## 0.28.0
* `--json` for machine readable status output
Expand All @@ -268,7 +268,7 @@ from nikbora
* Remove many hacks using new API Gateway features.
* Closes #303, #363, #361
* See the [blog post](https://blog.zappa.io/posts/unhacking-zappa-with-new-apigateway-features) for more details!
* Bump dependancies - make sure you reinstall your requirements!
* Bump dependencies - make sure you reinstall your requirements!
* Improved stack update handling.

### 0.26.1 (Never Published)
Expand Down
2 changes: 1 addition & 1 deletion docs/advanced.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ Obviously, this only works for Django projects which have their settings properl
Keeping The Server Warm
=======================

Zappa will automatically set up a regularly occuring execution of your application in order to keep the Lambda function warm. This can be disabled via the 'keep_warm' setting.
Zappa will automatically set up a regularly occurring execution of your application in order to keep the Lambda function warm. This can be disabled via the 'keep_warm' setting.

Enabling CORS
=============
Expand Down
2 changes: 1 addition & 1 deletion example/authmodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def lambda_handler(event, context):

"""if the token is valid, a policy must be generated which will allow or deny access to the client"""

"""if access is denied, the client will recieve a 403 Access Denied response"""
"""if access is denied, the client will receive a 403 Access Denied response"""
"""if access is allowed, API Gateway will proceed with the backend integration configured on the method that was called"""

"""this function must generate a policy that is associated with the recognized principal user identifier."""
Expand Down
2 changes: 1 addition & 1 deletion zappa/async.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def my_async_func(*args, **kwargs):
5. The new lambda instance is invoked with the message above,
and Zappa runs its usual bootstrapping context, and inside
zappa.handler, the existance of the 'command' key in the message
zappa.handler, the existence of the 'command' key in the message
dispatches the full message to zappa.async.route_lambda_task, which
in turn calls `run_message(message)`
Expand Down
6 changes: 3 additions & 3 deletions zappa/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -1228,8 +1228,8 @@ def invoke(self, function_name, raw_python=False, command=None, no_color=False):
print(base64.b64decode(response['LogResult']))
else:
decoded = base64.b64decode(response['LogResult']).decode()
formated = self.format_invoke_command(decoded)
colorized = self.colorize_invoke_command(formated)
formatted = self.format_invoke_command(decoded)
colorized = self.colorize_invoke_command(formatted)
print(colorized)
else:
print(response)
Expand Down Expand Up @@ -1410,7 +1410,7 @@ def tabular_print(title, value):
status_dict["API Gateway x-api-key"] = api_key

# There literally isn't a better way to do this.
# AWS provides no way to tie a APIGW domain name to its Lambda funciton.
# AWS provides no way to tie a APIGW domain name to its Lambda function.
domain_url = self.stage_config.get('domain', None)
if domain_url:
status_dict["Domain URL"] = 'https://' + domain_url
Expand Down
4 changes: 2 additions & 2 deletions zappa/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ def get_manylinux_wheel_url(self, package_name, package_version):
This function downloads metadata JSON of `package_name` from Pypi
and examines if the package has a manylinux wheel. This function
also caches the JSON file so that we don't have to poll Pypi
everytime.
every time.
"""
cached_pypi_info_dir = os.path.join(tempfile.gettempdir(), 'cached_pypi_info')
if not os.path.isdir(cached_pypi_info_dir):
Expand Down Expand Up @@ -2640,7 +2640,7 @@ def remove_dns_challenge_txt(self, zone_id, domain, txt_challenge):
@staticmethod
def get_dns_challenge_change_batch(action, domain, txt_challenge):
"""
Given action, domain and challege, return a change batch to use with
Given action, domain and challenge, return a change batch to use with
route53 call.
:param action: DELETE | UPSERT
Expand Down
2 changes: 1 addition & 1 deletion zappa/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ def handler(self, event, context):

# This is a direct, raw python invocation.
# It's _extremely_ important we don't allow this event source
# to be overriden by unsanitized, non-admin user input.
# to be overridden by unsanitized, non-admin user input.
elif event.get('raw_command', None):

raw_command = event['raw_command']
Expand Down
2 changes: 1 addition & 1 deletion zappa/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def all_casings(input_string):
"""
Permute all casings of a given string.
A pretty algoritm, via @Amber
A pretty algorithm, via @Amber
http://stackoverflow.com/questions/6792803/finding-all-possible-case-permutations-in-python
"""
if not input_string:
Expand Down

0 comments on commit f7a7853

Please sign in to comment.