Update uuidutils from openstack common.
Change-Id: I91fe13eb7dda8aa64187ce5a6d2c34dacdc9f1bb
This commit is contained in:
@@ -22,6 +22,10 @@ UUID related utilities and helper functions.
|
||||
import uuid
|
||||
|
||||
|
||||
def generate_uuid():
|
||||
return str(uuid.uuid4())
|
||||
|
||||
|
||||
def is_uuid_like(val):
|
||||
"""Returns validation of a value as a UUID.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user