Skip to content
Snippets Groups Projects
Commit 8b8d1084 authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "use uuidutils instead of uuid.uuid4()"

parents 869febe4 14291981
No related branches found
No related tags found
No related merge requests found
......@@ -17,10 +17,10 @@ import os
import random
import string
import sys
import uuid
import yaml
from Crypto.PublicKey import RSA
from oslo_utils import uuidutils
import yaml
# NOTE(SamYaple): Update the search path to prefer PROJECT_ROOT as the source
# of packages to import if we are using local tools instead of
......@@ -81,7 +81,7 @@ def main():
if k in blank_keys and v is None:
continue
if k in uuid_keys:
passwords[k] = str(uuid.uuid4())
passwords[k] = uuidutils.generate_uuid()
else:
passwords[k] = ''.join([
random.SystemRandom().choice(
......
......@@ -8,6 +8,7 @@ gitdb>=0.6.4 # BSD License (3 clause)
GitPython>=1.0.1 # BSD License (3 clause)
six>=1.9.0 # MIT
oslo.config!=3.18.0,>=3.14.0 # Apache-2.0
oslo.utils>=3.18.0 # Apache-2.0
setuptools!=24.0.0,>=16.0 # PSF/ZPL
pycrypto>=2.6 # Public Domain
netaddr!=0.7.16,>=0.7.13 # BSD
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment