You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
499 B
Python
20 lines
499 B
Python
2 years ago
|
import seiscomp.kernel
|
||
|
import sys
|
||
|
|
||
|
|
||
|
class Module(seiscomp.kernel.Module):
|
||
|
def __init__(self, env):
|
||
|
seiscomp.kernel.Module.__init__(self, env, env.moduleName(__file__))
|
||
|
|
||
|
def updateConfigProxy(self):
|
||
|
return "trunk"
|
||
|
|
||
|
def updateConfig(self):
|
||
|
# By default the "trunk" module must be configured to write the
|
||
|
# bindings into the database
|
||
|
return 0
|
||
|
|
||
|
def supportsAliases(self):
|
||
|
# The default handler does not support aliases
|
||
|
return True
|