Skip to content

Commit f1a623f

Browse files
committed
Show Tag.name in the Tag's string representation
1 parent 6154e19 commit f1a623f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

digitalocean/Tag.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,3 +187,7 @@ def remove_snapshots(self, snapshots):
187187

188188
return False
189189

190+
191+
def __str__(self):
192+
return "<Tag: %s>" % self.name
193+

0 commit comments

Comments
 (0)