diff --git a/dpaste/models.py b/dpaste/models.py index c27a716..0212a6c 100644 --- a/dpaste/models.py +++ b/dpaste/models.py @@ -22,7 +22,7 @@ def generate_secret_id(length): ) secret_id = ''.join( - [R.choice(config.SLUG_CHOICES) for i in range(length or config.SLUG_LENGTH)] + [R.choice(config.SLUG_CHOICES) for _ in range(length or config.SLUG_LENGTH)] ) # Check if this slug already exists, if not, return this new slug