diff --git a/django/utils/lorem_ipsum.py b/django/utils/lorem_ipsum.py index a9459f4395..03426c152b 100644 --- a/django/utils/lorem_ipsum.py +++ b/django/utils/lorem_ipsum.py @@ -103,10 +103,7 @@ def words(count, common=True): If `common` is True, then the first 19 words will be the standard 'lorem ipsum' words. Otherwise, all words will be selected randomly. """ - if common: - word_list = list(COMMON_WORDS) - else: - word_list = [] + word_list = list(COMMON_WORDS) if common else [] c = len(word_list) if count > c: count -= c