mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-03 06:49:10 -07:00
[PR #7439/2b628260 backport][stable-7] Fix more typos (#7445)
Fix more typos (#7439)
* Fix more typos in plugins/.
* Fix typos in tests/unit/.
* Fix typos in tests/integration/.
* Fix more typos.
Co-authored-by: Sebastian Gumprich <rndmh3ro@users.noreply.github.com>
---------
Co-authored-by: Sebastian Gumprich <rndmh3ro@users.noreply.github.com>
(cherry picked from commit 2b62826082
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
985fbb321b
commit
2ed7e96372
62 changed files with 99 additions and 99 deletions
2
plugins/cache/redis.py
vendored
2
plugins/cache/redis.py
vendored
|
@ -150,7 +150,7 @@ class CacheModule(BaseCacheModule):
|
|||
# format: "localhost:26379;localhost2:26379;0:changeme"
|
||||
connections = uri.split(';')
|
||||
connection_args = connections.pop(-1)
|
||||
if len(connection_args) > 0: # hanle if no db nr is given
|
||||
if len(connection_args) > 0: # handle if no db nr is given
|
||||
connection_args = connection_args.split(':')
|
||||
kw['db'] = connection_args.pop(0)
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue