8000 Use % instead of format because python 2.5 · gustafa/twilio-python@dfd3004 · GitHub
[go: up one dir, main page]

Skip to content

Commit dfd3004

Browse files
committed
Use % instead of format because python 2.5
1 parent a20cd26 commit dfd3004

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

twilio/rest/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def request(self, path, method=None, vars=None):
7878
elif method == "POST" or method == "PUT":
7979
data = vars
8080

81-
user_agent = "twilio-python {} (python-{})".format(
81+
user_agent = "twilio-python %s (python-%s)" % (
8282
LIBRARY_VERSION,
8383
platform.python_version(),
8484
)
3167

0 commit comments

Comments
 (0)
0