<s> import logging <EOL> log = logging . getLogger ( '<STR_LIT>' ) <EOL> class SystemConfig : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , context ) : <EOL> """<STR_LIT>""" <EOL> self . __context = context <EOL> def get ( self , property_name ) : <EOL> """<STR_LIT>""" <EOL> admin = self . __context . getAdministrationService ( ) <EOL> return admin . getSystemProperty ( property_name ) <EOL> def set ( self , property_name , property_value ) : <EOL> """<STR_LIT>""" <EOL> admin = self . __context . getAdministrationService ( ) <EOL> prop = admin . getSystemProperty ( property_name ) <EOL> prop . setValue ( property_value ) <EOL> prop . update ( ) <EOL> def apply_default_configuration ( config , context ) : <EOL> """<STR_LIT>""" <EOL> log . info ( "<STR_LIT>" ) <EOL> sysconf = SystemConfig ( context ) <EOL> log . info ( "<STR_LIT>" ) <EOL> sysconf . set ( "<STR_LIT>" , "<STR_LIT:0>" ) <EOL> log . info ( "<STR_LIT>" ) <EOL> sysconf . set ( "<STR_LIT>" , <EOL> "<STR_LIT>" ) </s>
