/usr/lib/python3/dist-packages/digitalocean/Kernel.py is in python3-digitalocean 1.13.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | # -*- coding: utf-8 -*-
from .baseapi import BaseAPI
class Kernel(BaseAPI):
def __init__(self, *args, **kwargs):
self.name = ""
self.id = ""
self.version = ""
super(Kernel, self).__init__(*args, **kwargs)
def __str__(self):
return "<Kernel: %s %s>" % (self.name, self.version)
|