1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-21 19:01:07 +03:00

rename renewal->cont

This commit is contained in:
James Kasten
2015-03-30 17:15:08 -07:00
parent 26074c1399
commit dd3f4acbd0

View File

@@ -55,14 +55,14 @@ CONT_CHALLENGES = [chall for chall in CHALLENGES
def gen_combos(challs):
"""Generate natural combinations for challs."""
dv_chall = []
renewal_chall = []
cont_chall = []
for i, chall in enumerate(challs): # pylint: disable=redefined-outer-name
if isinstance(chall, challenges.DVChallenge):
dv_chall.append(i)
else:
renewal_chall.append(i)
cont_chall.append(i)
# Gen combos for 1 of each type, lowest index first (makes testing easier)
return tuple((i, j) if i < j else (j, i)
for i in dv_chall for j in renewal_chall)
for i in dv_chall for j in cont_chall)