
"·T`–  ã               @   sC   y d  d l  m Z Wn( e k
 r> Gd d „  d e ƒ Z Yn Xd S)é    )ÚSerialc               @   sy   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)
Ú__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   