PATH:
usr
/
share
/
crypto-policies
/
python
/
cryptopolicies
/
validation
/
__pycache__
/
Editing: rules.cpython-36.pyc
3 ."�d� � @ s` d dl mZ G dd� de�ZG dd� de�ZG dd� de�ZG dd � d e�Zd d� Zdd � ZdS )� )�PolicySyntaxErrorc s e Zd Z� fdd�Z� ZS )� MalformedLinec s t � jd|� d�� d S )Nzmalformed line `�`)�super�__init__)�self�line)� __class__� �E./usr/share/crypto-policies/python/cryptopolicies/validation/rules.pyr s zMalformedLine.__init__)�__name__� __module__�__qualname__r � __classcell__r r )r r r s r c s e Zd Z� fdd�Z� ZS )�%MixedDifferentialNonDifferentialErrorc s t � jd|� d�� d S )Nz/cannot initialize list and modify it at once (`z`))r r )r Zrhs)r r r r s z.MixedDifferentialNonDifferentialError.__init__)r r r r r r r )r r r s r c s e Zd Z� fdd�Z� ZS )�IntPropertyNonIntValueErrorc s t � jd|� d�� d S )NzBad value of policy property `z`: value must be an integer)r r )r Zint_property_name)r r r r s z$IntPropertyNonIntValueError.__init__)r r r r r r r )r r r s r c s e Zd Z� fdd�Z� ZS )�NonIntPropertyIntValueErrorc s t � jd|� d�� d S )NzBad value of policy property `z`: value must not be an integer)r r )r Z alg_class)r r r r s z$NonIntPropertyIntValueError.__init__)r r r r r r r )r r r s r c C s | j d�dkrt| ��d S )N�=r )�countr )r r r r �count_equals_signs! s r c C s | st |��d S )N)r )Zlhsr r r r � empty_lhs&