8000 merge master · Twilio-api/twilio-python@e15b80b · GitHub
[go: up one dir, main page]

Skip to content

Commit e15b80b

Browse files
author
Doug Black
committed
merge master
2 parents 4525688 + 4218ecb commit e15b80b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

twilio/rest/resources/base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def delete_instance(self):
244244
return self.parent.delete(self.name)
245245

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

249249

250250
class ListResource(Resource):
@@ -402,6 +402,7 @@ def load_instance(self, data):
402402

403403
def __str__(self):
404404
return '<{} ({})>'.format(self.__class__.__name__, self.count())
405+
return '<{0} ({1})>'.format(self.__class__.__name__, self.count())
405406

406407
def list(self, **kw):
407408
"""Query the list resource for a list of InstanceResources.

0 commit comments

Comments
 (0)
0