def _GetService():
 server_software = os.environ.get('SERVER_SOFTWARE', '')
 if (server_software.startswith('Devel') or server_software.startswith('test')):
  return 'channel'
 else:
  return 'xmpp'

def _GetService ( ) : server_software = os . environ . get ( 'SERVER_SOFTWARE' , '' ) if ( server_software . startswith ( 'Devel' ) or server_software . startswith ( 'test' ) ) : return 'channel' else : return 'xmpp'
gets the service name to use .