Skip to content

Commit 0780ad2

Browse files
Apply suggestions from code review
Co-Authored-By: Konstantin Podshumok <[email protected]>
1 parent 595018c commit 0780ad2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

smpplib/client.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,11 @@ def __init__(
8585

8686
if allow_unknown_opt_params is None:
8787
warnings.warn(
88-
"Unknown optional parameters during PDU parsing will stop causing an exception in a future smpplib version (in order to comply with the SMPP spec). To switch behaviour now set allow_unknown_opt_params to True.",
89-
DeprecationWarning
88+
"Unknown optional parameters during PDU parsing will stop "
89+
"causing an exception in a future smpplib version "
90+
"(in order to comply with the SMPP spec). To switch behavior "
91+
"now set allow_unknown_opt_params to True.",
92+
DeprecationWarning,
9093
)
9194
self.allow_unknown_opt_params = False
9295
else:

0 commit comments

Comments
 (0)