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

Commit a140ef6

Browse files
committed
Position-less argument specifiers were not added until python 2.7. Specify the position to fix support for older versions of python.
1 parent c4b6d04 commit a140ef6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

twilio/rest/resources/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def delete_instance(self):
202202
return self.parent.delete(self.name)
203203

204204
def __str__(self):
205-
return "<{} {}>".format(self.__class__.__name__, self.name[0:5])
205+
return "<{0} {1}>".format(self.__class__.__name__, self.name[0:5])
206206

207207

208208
class ListResource(Resource):
@@ -321,4 +321,4 @@ def load_instance(self, data):
321321
return instance
322322

323323
def __str__(self):
324-
return '<{} ({})>'.format(self.__class__.__name__, self.count())
324+
return '<{0} ({1})>'.format(self.__class__.__name__, self.count())

0 commit comments

Comments
 (0)