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

Fix raising of deprecation warning #191

Merged
merged 1 commit into from
Jan 27, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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