<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
        integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
</html>
3
À<×e+  ã               @   sT   d dl Z d dlZddlmZ d dlmZ d dlmZ ej	j
ƒ ZG dd„ dejƒZdS )é    Né   )Úbase)Úcommands)ÚInvalidProfileExceptionc                   s,   e Zd ZdZ‡ fdd„Z‡ fdd„Z‡  ZS )Úassertion_non_equalzº
	Assertion non equal: compares argument 2 with argument 3. If they match
	it logs text from argument 1 and  throws InvalidProfileException. This
	exception will abort profile loading.
	c                s   t t| ƒjdddƒ d S )Nr   é   )Úsuperr   Ú__init__)Úself)Ú	__class__© ú2/usr/lib/python3.6/function_assertion_non_equal.pyr	      s    zassertion_non_equal.__init__c                sX   t t| ƒj|ƒsd S |d |d krTtjd|d |d |d f ƒ td|d  ƒ‚d S )Nr   é   z#assertion '%s' failed: '%s' == '%s'r   zAssertion '%s' failed.)r   r   ÚexecuteÚlogÚerrorr   )r
   Úargs)r   r   r   r      s     zassertion_non_equal.execute)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r	   r   Ú__classcell__r   r   )r   r   r   	   s   r   )ÚosZ
tuned.logsZtunedÚ r   Ztuned.utils.commandsr   Ztuned.profiles.exceptionsr   ZlogsÚgetr   ZFunctionr   r   r   r   r   Ú<module>   s   
