/usr/lib/python3/dist-packages/landscape/lib/__pycache__
NameSizeModeActions
amp.cpython-310.pyc217830644editdlrm
backoff.cpython-310.pyc21370644editdlrm
base64.cpython-310.pyc3330644editdlrm
bootstrap.cpython-310.pyc22770644editdlrm
bpickle.cpython-310.pyc66580644editdlrm
cli.cpython-310.pyc5810644editdlrm
cloud.cpython-310.pyc18610644editdlrm
compat.cpython-310.pyc6060644editdlrm
config.cpython-310.pyc102180644editdlrm
disk.cpython-310.pyc40800644editdlrm
encoding.cpython-310.pyc7590644editdlrm
fd.cpython-310.pyc9510644editdlrm
fetch.cpython-310.pyc72350644editdlrm
format.cpython-310.pyc8920644editdlrm
fs.cpython-310.pyc35930644editdlrm
gpg.cpython-310.pyc21700644editdlrm
hashlib.cpython-310.pyc4080644editdlrm
jiffies.cpython-310.pyc13520644editdlrm
juju.cpython-310.pyc8070644editdlrm
lock.cpython-310.pyc10650644editdlrm
log.cpython-310.pyc6710644editdlrm
logging.cpython-310.pyc23660644editdlrm
message.cpython-310.pyc21270644editdlrm
monitor.cpython-310.pyc72000644editdlrm
network.cpython-310.pyc90150644editdlrm
os_release.cpython-310.pyc12490644editdlrm
persist.cpython-310.pyc177870644editdlrm
plugin.cpython-310.pyc25650644editdlrm
process.cpython-310.pyc43830644editdlrm
reactor.cpython-310.pyc101080644editdlrm
schema.cpython-310.pyc71550644editdlrm
scriptcontent.cpython-310.pyc6740644editdlrm
sequenceranges.cpython-310.pyc49200644editdlrm
store.cpython-310.pyc12200644editdlrm
sysstats.cpython-310.pyc77650644editdlrm
tag.cpython-310.pyc8790644editdlrm
testing.cpython-310.pyc261940644editdlrm
timestamp.cpython-310.pyc4360644editdlrm
twisted_util.cpython-310.pyc47360644editdlrm
user.cpython-310.pyc9080644editdlrm
versioning.cpython-310.pyc16480644editdlrm
vm_info.cpython-310.pyc28240644editdlrm
warning.cpython-310.pyc6150644editdlrm
__init__.cpython-310.pyc3520644editdlrm
Edit: /usr/lib/python3/dist-packages/landscape/lib/__pycache__/plugin.cpython-310.pyc (2565B)
o ¶žâcûã@sTddlmZddlZddlmZGdd„deƒZGdd„deƒZGd d „d eƒZ dS) é)Úabsolute_importNé)Ú format_objectc@seZdZdZdS)ÚPluginConfigErrorz7There was an error registering or configuring a plugin.N)Ú__name__Ú __module__Ú __qualname__Ú__doc__©r r ú6/usr/lib/python3/dist-packages/landscape/lib/plugin.pyrsrc@s0eZdZdZdd„Zdd„Zdd„Zdd „Zd S) ÚPluginRegistryz(A central integration point for plugins.cCsg|_i|_dS)N)Ú_pluginsÚ _plugin_names©Úselfr r r Ú__init__s zPluginRegistry.__init__cCs@t dt|ƒ¡|j |¡t|dƒr||j|j<| |¡dS)aRegister a plugin. The plugin's C{register} method will be called with this registry as its argument. If the plugin has a C{plugin_name} attribute, it will be possible to look up the plugin later with L{get_plugin}. zRegistering plugin %s.Ú plugin_nameN) ÚloggingÚinforr ÚappendÚhasattrrrÚregister)rÚpluginr r r Úadds    zPluginRegistry.addcCs|jS)zGet the list of plugins.)r rr r r Ú get_plugins"szPluginRegistry.get_pluginscCs |j|S)z Get a particular plugin by name.)r)rÚnamer r r Ú get_plugin&s zPluginRegistry.get_pluginN)rrrr rrrrr r r r r s  r c@seZdZdZdZdd„ZdS)ÚPlugina˜A convenience for writing plugins. This provides a register method which will set up a bunch of reactor handlers in the idiomatic way. If C{run} is defined on subclasses, it will be called every C{run_interval} seconds after being registered. @cvar run_interval: The interval, in seconds, to execute the C{run} method. If set to C{None}, then C{run} will not be scheduled. écCs8||_t|dƒr|jdur|j |j|j¡dSdSdS)NÚrun)ÚregistryrÚ run_intervalÚreactorÚ call_everyr)rr r r r r;sÿzPlugin.registerN)rrrr r!rr r r r r+s r) Ú __future__rrÚformatrÚ ExceptionrÚobjectr rr r r r Ús