8000 fix flake warnings · Stackdriver/twilio-python@000cb31 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Feb 1, 2018. It is now read-only.

Commit 000cb31

Browse files
author
Kevin Burke
committed
fix flake warnings
1 parent 7868a50 commit 000cb31

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

twilio/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@ def __init__(self, status, uri, msg="", code=None):
1616

1717
def __str__(self):
1818
return "HTTP ERROR %s: %s \n %s" % (self.status, self.msg, self.uri)
19-

twilio/rest/resources/base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ def make_request(method, url, params=None, data=None, headers=None,
4545
elif isinstance(v, string_types):
4646
udata[key] = v.encode('utf-8')
4747
else:
48-
raise ValueError('data should be an integer, binary, or string')
48+
raise ValueError('data should be an integer, '
49+
'binary, or string')
4950
data = urlencode(udata)
5051

5152
if params is not None:

0 commit comments

Comments
 (0)
0