Skip to content

Commit

Permalink
Fix get_uuid to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
mcarans committed Apr 24, 2020
1 parent 2543f7e commit 64d168a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/hdx/utilities/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from os.path import exists
from shutil import rmtree
from typing import Any
from uuid import UUID, uuid1
from uuid import UUID, uuid4

import six
from setuptools import Command
Expand Down Expand Up @@ -38,7 +38,7 @@ def get_uuid():
Returns:
str: A UUID
"""
return str(uuid1())
return str(uuid4())


def is_valid_uuid(uuid_to_test, version=4):
Expand Down
2 changes: 1 addition & 1 deletion src/hdx/utilities/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.3.1
2.3.2

0 comments on commit 64d168a

Please sign in to comment.