8000 merge master · gregeinfrank/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
< 71CE td data-grid-cell-id="diff-f58650a06cd9e696f8cdf7821abdaf3fdca2c0f0c3492e616562677f5c62ffaf-249-249-0" data-selected="false" role="gridcell" style="background-color:var(--bgColor-default);text-align:center" tabindex="-1" valign="top" class="focusable-grid-cell diff-line-number position-relative diff-line-number-neutral left-side">249
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

249

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