From c7e586eba0abbc5d1c54fb3acc679021d2ea9e11 Mon Sep 17 00:00:00 2001 From: hcourte Date: Tue, 23 Feb 2016 18:09:22 +0100 Subject: [PATCH] Correct commit name --- zds/tutorialv2/management/commands/adjust_slugs.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/zds/tutorialv2/management/commands/adjust_slugs.py b/zds/tutorialv2/management/commands/adjust_slugs.py index a52838fa04..71ce79b676 100644 --- a/zds/tutorialv2/management/commands/adjust_slugs.py +++ b/zds/tutorialv2/management/commands/adjust_slugs.py @@ -5,7 +5,6 @@ from django.core.management.base import BaseCommand from zds.settings import ZDS_APP from zds.tutorialv2.models.models_database import PublishableContent -from django.utils.translation import ugettext_lazy as _ class Command(BaseCommand): @@ -40,7 +39,7 @@ def handle(self, *args, **options): good_slug, versioned.get_introduction(), versioned.get_conclusion(), - commit_message=_(u'[hotfix] Corrige le slug pour éviter un bug')) + commit_message='[hotfix] Corrige le slug') c.save()