10000 Remove commented-out print statements · dsyang/twilio-python@ba2cc0c · GitHub
[go: up one dir, main page]

Skip to content

Commit ba2cc0c

Browse files
author
Kevin Burke
committed
Remove commented-out print statements
1 parent 21cf536 commit ba2cc0c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

twilio/util.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,9 @@ def compute_signature(self, uri, params):
3030
s += k + v
3131

3232
# compute signature and compare signatures
33-
3433
mac = hmac.new(self.token, s.encode("utf-8"), sha1)
3534
computed = base64.b64encode(mac.digest())
3635

37-
# print base64.b64decode(computed.strip())
38-
# print base64.b64decode(computed.strip()).decode("utf-8")
39-
4036
return computed.strip()
4137

4238
def validate(self, uri, params, signature):

0 commit comments

Comments
 (0)
0