Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

Commit

Permalink
Merge pull request #191 from Jamim/master
Browse files Browse the repository at this point in the history
Fix raising of deprecation warning
  • Loading branch information
popravich committed Jan 27, 2017
2 parents 14f6ec3 + 99c57f8 commit c3345b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aioredis/pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def create_pool(address, *, db=None, password=None, ssl=None, encoding=None,
if commands_factory is not _NOTSET:
warnings.warn(
"commands_factory argument is deprecated and will be removed!",
warnings.DeprecationWarning)
DeprecationWarning)

pool = ConnectionsPool(address, db, password, encoding,
minsize=minsize, maxsize=maxsize,
Expand Down

0 comments on commit c3345b8

Please sign in to comment.