Mini Shell
3
{)c_ � @ s� d dl Z d dlmZ ee j�G dd� de��ZG dd� de�ZG dd� de�ZG d d
� d
e�ZG dd� de�Z G d
d� de�Z
G dd� de�ZG dd� de�ZdS )� N)�
add_metaclassc @ s. e Zd ZdZeejdd� ��Zedd� �ZdS )�FSUUIDzVAn abstract class that represents filesystem actions for setting the
UUID.
c C s t �dS )z�Returns True if the given UUID is correctly formatted for
this filesystem, otherwise False.
:param str uuid: the UUID for this filesystem
:rtype: bool
N)�NotImplementedError)�cls�uuid� r �/usr/lib/python3.6/fsuuid.py�uuid_format_ok
s zFSUUID.uuid_format_okc C s: |j d�}t|�dkrdS dd� |D �}|dddddgkS ) z�Check whether the given UUID is correct according to RFC 4122 and
return True if it's correct or False otherwise.
:param str uuid: the UUID to check
:rtype: bool
�-� Fc S s&