Skip to content

Commit

Permalink
Merge pull request #162 from timgates42/bugfix_typos
Browse files Browse the repository at this point in the history
docs: Fix a few typos
  • Loading branch information
moggers87 committed Mar 29, 2024
2 parents 94f0ed3 + 497ec7c commit 14465b4
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Apache or Nginx. It has all the features of a web application stack (templates,
routing, handlers, state machine) and plays well with other libraries, such as
Django and SQLAlchemy.

Salmon has been released uner the GNU GPLv3, as published by the FSF.
Salmon has been released under the GNU GPLv3, as published by the FSF.

Features
========
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@
# The format is a list of tuples containing the path and title.
#epub_pre_files = []

# HTML files shat should be inserted after the pages created by sphinx.
# HTML files that should be inserted after the pages created by sphinx.
# The format is a list of tuples containing the path and title.
#epub_post_files = []

Expand Down
4 changes: 2 additions & 2 deletions salmon/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import salmon

# squash warning about unicode literals. if there are bugs here, then it's
# quite likely to have afffected us before switching to click.
# quite likely to have affected us before switching to click.
click.disable_unicode_literals_warning = True

DEFAULT_PID_FILE = "./run/smtp.pid"
Expand Down Expand Up @@ -266,7 +266,7 @@ def routes(modules, test, path):
messages not getting to your handlers. Path has the search paths you want
separated by a ':' character, and it's added to the sys.path.
MODULE should be a configureation module and can be given multiple times.
MODULE should be a configuration module and can be given multiple times.
"""
_import_router_modules(modules, path)
test_case_matches = []
Expand Down
2 changes: 1 addition & 1 deletion salmon/routing.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
The salmon.routing.StateStorage is what you need to implement if you want
Salmon to store the state in a different way. By default the
salmon.routing.Router object just uses a default MemoryStorage to do its job.
If you want to use a custom storage, then in your boot modiule you would set
If you want to use a custom storage, then in your boot module you would set
salmon.routing.Router.STATE_STORE to what you want to use.
Finally, when you write a state handler, it has functions that act as state
Expand Down
2 changes: 1 addition & 1 deletion tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def tearDownClass(cls):

def setUp(self):
super().setUp()
# re-create destoryed queues
# re-create destroyed queues
queue.Queue(os.path.join(self._cwd, server_settings.UNDELIVERABLE_QUEUE)).clear()
queue.Queue(os.path.join(self._cwd, server_settings.QUEUE_PATH)).clear()

Expand Down
2 changes: 1 addition & 1 deletion tests/test_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def test_queue_receiver_pool(self, pool_mock):
args = receiver.workers.apply_async.call_args[1]["args"]
del receiver.workers.apply_async.call_args[1]["args"]

# onlly the "args" kwarg should be present
# only the "args" kwarg should be present
self.assertEqual(receiver.workers.apply_async.call_args[1], {})

# we can't compare two Mail* objects, so we'll just check the type
Expand Down

0 comments on commit 14465b4

Please sign in to comment.