/usr/lib/python3/dist-packages/digitalocean/Region.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 14 15 | # -*- coding: utf-8 -*-
from .baseapi import BaseAPI
class Region(BaseAPI):
def __init__(self, *args, **kwargs):
self.name = None
self.slug = None
self.sizes = []
self.available = None
self.features = []
super(Region, self).__init__(*args, **kwargs)
def __str__(self):
return "<Region: %s %s>" % (self.slug, self.name)
|