Remove an unused temporary.

This commit is contained in:
Andrew Lin 2015-07-09 15:50:44 -04:00
parent 32b4033d63
commit 47ee662e24

View File

@ -306,8 +306,7 @@ def random_words(lang='en', wordlist='combined', nwords=5, bits_per_word=12,
"There aren't enough words in the wordlist to provide %d bits of "
"entropy per word." % bits_per_word
)
selected = [random.choice(choices) for i in range(nwords)]
return ' '.join(selected)
return ' '.join([random.choice(choices) for i in range(nwords)])
def random_ascii_words(lang='en', wordlist='combined', nwords=5,