MCPcopy
hub / github.com/pyload/pyload / __init__

Method __init__

module/ConfigParser.py:45–57  ·  view source on GitHub ↗

Constructor

(self)

Source from the content-addressed store, hash-verified

43 CONFLINE = re.compile(r'^\s*(?P<T>.+?)\s+(?P<N>[^ ]+?)\s*:\s*"(?P<D>.+?)"\s*=\s?(?P<V>.*)')
44
45 def __init__(self):
46 """Constructor"""
47 self.config = {} # the config values
48 self.plugin = {} # the config for plugins
49 self.oldRemoteData = {}
50
51 self.pluginCB = None # callback when plugin config value is changed
52
53 self.checkVersion()
54
55 self.readConfig()
56
57 self.deleteOldPlugins()
58
59
60 def checkVersion(self, n=0):

Callers

nothing calls this directly

Calls 3

checkVersionMethod · 0.95
readConfigMethod · 0.95
deleteOldPluginsMethod · 0.95

Tested by

no test coverage detected