8000 Merge pull request #60 from twilio/remove-print · Twilio-api/twilio-python@fb52302 · GitHub
[go: up one dir, main page]

Skip to content

Commit fb52302

Browse files
committed
Merge pull request twilio#60 from twilio/remove-print
Remove print
2 parents ff55942 + ba2cc0c commit fb52302

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ parts
1010
bin
1111
develop-eggs
1212
.installed.cfg
13+
scratch
14+
env
1315

1416
# Installer logs
1517
pip-log.txt
@@ -22,3 +24,5 @@ pip-log.txt
2224

2325
# Sphinx
2426
docs/tmp
27+
28+
docs/_build

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