Skip to content

Commit 280cf65

Browse files
authored
Merge pull request #340 from violetlight/master
Show Tag.name in the Tag's string representation
2 parents 783cb29 + f1a623f commit 280cf65

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)