Skip to content
Snippets Groups Projects
Commit 45f3aca6 authored by jkerdreu's avatar jkerdreu
Browse files

Added digit on uuid

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/0.7@2913 b32b6428-25c9-4566-ad07-03861ab6144f
parent 4369c52f
Branches
No related tags found
No related merge requests found
......@@ -67,8 +67,8 @@ def new_cfg(app_name):
def get_random_uuid():
return UUID.random()
def get_random_base_uuid():
return UUID.random_base()
def get_random_base_uuid(digit=2):
return UUID.random_base(digit)
def get_uuid(val):
if isinstance(val,UUID):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment