Revision 80a0546b lib/utils/__init__.py

b/lib/utils/__init__.py
59 59

  
60 60
_VALID_SERVICE_NAME_RE = re.compile("^[-_.a-zA-Z0-9]{1,128}$")
61 61

  
62
UUID_RE = re.compile("^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-"
63
                     "[a-f0-9]{4}-[a-f0-9]{12}$")
62
UUID_RE = re.compile(constants.UUID_REGEX)
64 63

  
65 64

  
66 65
def ForceDictType(target, key_types, allowed_values=None):

Also available in: Unified diff