aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlban Gruin2017-02-28 13:25:08 +0100
committerAlban Gruin2017-02-28 13:25:08 +0100
commit66be6f2e7a3c642fb3c69e7c2a70cc3f898d77ea (patch)
tree4a1287e1a232b93a822b8fce9ee8c7eb5977baa0
parent2ca125053e753482d13f40da3c602c964b215626 (diff)
Avec des parenthèses c'est mieuxv0.7.0
-rw-r--r--management/commands/cleancourses.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/management/commands/cleancourses.py b/management/commands/cleancourses.py
index 8bb1b97..5f71861 100644
--- a/management/commands/cleancourses.py
+++ b/management/commands/cleancourses.py
@@ -26,7 +26,7 @@ class Command(BaseCommand):
parser.add_argument("--timetable", type=int, nargs="+")
def handle(self, *args, **options):
- with transaction.atomic:
+ with transaction.atomic():
if options["timetable"] is None:
Course.objects.all().delete()
Group.objects.all().delete()