#NEWLINE# def get_zabbix_engine( ) : #NEWLINE# #INDENT# cls_name = settings . DATABASES [ 'zabbix' ] [ 'ENGINE' ] #NEWLINE# for engine in ( 'mysql' , 'postgresql' ) : #NEWLINE# #INDENT# if ( engine in cls_name ) : #NEWLINE# #INDENT# return engine #NEWLINE# #UNINDENT# #UNINDENT# raise NotSupportedError ( ( 'Database engine %s is not supported' % engine ) )