U
    bç  ã                   @   s:   zd dl mZ W n$ ek
r4   G dd„ deƒZY nX dS )é    )ÚSerialc                   @   sR   e Zd Zdd„ Zedd„ ƒZedd„ ƒZedd„ ƒZed	d
„ ƒZeddd„ƒZ	dS )r   c                 O   s   d S )N© )ÚselfÚargsÚkwargsr   r   ú2/usr/lib/python3/dist-packages/cloudinit/serial.pyÚ__init__
   s    zSerial.__init__c                   C   s   dS )NFr   r   r   r   r   ÚisOpen   s    zSerial.isOpenc                 C   s   t dƒ‚d S )NzCUnable to perform serial `write` operation, pyserial not installed.©ÚIOError)Údatar   r   r   Úwrite   s    ÿzSerial.writec                   C   s   t dƒ‚d S )NzFUnable to perform serial `readline` operation, pyserial not installed.r
   r   r   r   r   Úreadline   s    ÿzSerial.readlinec                   C   s   t dƒ‚d S )NzCUnable to perform serial `flush` operation, pyserial not installed.r
   r   r   r   r   Úflush   s    ÿzSerial.flushé   c                 C   s   t dƒ‚d S )NzBUnable to perform serial `read` operation, pyserial not installed.r
   )Úsizer   r   r   Úread&   s    ÿzSerial.readN)r   )
Ú__name__Ú
__module__Ú__qualname__r   Ústaticmethodr	   r   r   r   r   r   r   r   r   r   	   s   



r   N)Úserialr   ÚImportErrorÚobjectr   r   r   r   Ú<module>   s   