commit | ca9c7065922e8cff8626fa2a5251fba28ec06f8c | [log] [tgz] |
---|---|---|
author | Zuul <zuul@review.openstack.org> | Fri Dec 28 11:38:47 2018 +0000 |
committer | Gerrit Code Review <review@openstack.org> | Fri Dec 28 11:38:47 2018 +0000 |
tree | bdde2f8dcbf63bf1eaf328ca3febc3c8a0b76d5e | |
parent | 314ff80b3a632816475d59e2c66d787324893274 [diff] | |
parent | ad4c9ddf3fbab1adda68830f5910d629179ae0e5 [diff] |
Merge "Remove unnecessary line of code"
diff --git a/tempest/lib/common/utils/data_utils.py b/tempest/lib/common/utils/data_utils.py index 438d73e..3483c51 100644 --- a/tempest/lib/common/utils/data_utils.py +++ b/tempest/lib/common/utils/data_utils.py
@@ -50,8 +50,7 @@ (e.g. 'prefixfoo-namebar-154876201') :rtype: string """ - randbits = str(random.randint(1, 0x7fffffff)) - rand_name = randbits + rand_name = str(random.randint(1, 0x7fffffff)) if name: rand_name = name + '-' + rand_name if prefix: