commit | ad4c9ddf3fbab1adda68830f5910d629179ae0e5 | [log] [tgz] |
---|---|---|
author | Terry Wilson <twilson@redhat.com> | Tue Dec 18 21:26:40 2018 +0000 |
committer | Terry Wilson <twilson@redhat.com> | Tue Dec 18 21:27:11 2018 +0000 |
tree | ef9ecad6e511c0942854cc5f42d87634b33f87ce | |
parent | 11a2dd79190660a2a463440e610b82217afda04e [diff] |
Remove unnecessary line of code Change-Id: Iaf68a7550f7557bd5e941b619cc2012ca27b38d6
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: