Remove ignoring _ builtin usage for pep8

We did not use it.

Change-Id: I0d5d67ab047b1de609eb4cc85627c79eced1a57c
This commit is contained in:
Dong Jun 2017-06-26 16:23:43 +08:00
parent 4e7190d1f0
commit 62becbbd71
2 changed files with 1 additions and 3 deletions

View File

@ -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)

View File

@ -42,5 +42,4 @@ setenv = {[testenv]setenv}
show-source = True
ignore = E123,E125
builtins = _
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build