Remove ignoring _ builtin usage for pep8
We did not use it. Change-Id: I0d5d67ab047b1de609eb4cc85627c79eced1a57c
This commit is contained in:
parent
4e7190d1f0
commit
62becbbd71
@ -55,8 +55,7 @@ def get_related_rand_names(prefixes, max_length=None):
|
||||
if max_length:
|
||||
length = max_length - max(len(p) for p in prefixes)
|
||||
if length <= 0:
|
||||
raise ValueError(
|
||||
_("'max_length' must be longer than all prefixes"))
|
||||
raise ValueError("'max_length' must be longer than all prefixes")
|
||||
else:
|
||||
length = 8
|
||||
rndchrs = get_random_string(length)
|
||||
|
Loading…
x
Reference in New Issue
Block a user