Skip to content

Commit

Permalink
The kernel should return the name and the version when used as string.
Browse files Browse the repository at this point in the history
  • Loading branch information
koalalorenzo committed Aug 16, 2014
1 parent 41f57ef commit 90e8981
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion digitalocean/Kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ def __init__(self, *args, **kwargs):
self.name = ""
self.id = ""
self.version = ""
super(Kernel, self).__init__(*args, **kwargs)
super(Kernel, self).__init__(*args, **kwargs)

def __str__(self):
return "%s %s" % (self.name, self.version)

0 comments on commit 90e8981

Please sign in to comment.