@public
def platform_select(**values):
 if (ajenti.platform_unmapped in values):
  return values[ajenti.platform_unmapped]
 if (ajenti.platform in values):
  return values[ajenti.platform]
 return values.get('default', None)

@ public def platform_select ( ** values ) : if ( ajenti . platform_unmapped in values ) : return values [ ajenti . platform_unmapped ] if ( ajenti . platform in values ) : return values [ ajenti . platform ] return values . get ( 'default' , None )
selects a value from **kwargs** depending on runtime platform service = platform_select( debian=samba .