/usr/lib/python3/dist-packages/livestreamer/options.py is in python3-livestreamer 1.12.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 16 | class Options(object):
def __init__(self, defaults=None):
if not defaults:
defaults = {}
self.defaults = defaults
self.options = defaults.copy()
def set(self, key, value):
self.options[key] = value
def get(self, key):
if key in self.options:
return self.options[key]
__all__ = ["Options"]
|