From 7bd32b3ac5b4ae7344ec4aff80daf403b98205fa Mon Sep 17 00:00:00 2001 From: FreneticScribbler Date: Tue, 4 Jan 2022 18:43:10 +0000 Subject: [PATCH] My kingdom for a space --- training/management/commands/generateSampleTrainingData.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/training/management/commands/generateSampleTrainingData.py b/training/management/commands/generateSampleTrainingData.py index 6dbc0daf..3ca065df 100644 --- a/training/management/commands/generateSampleTrainingData.py +++ b/training/management/commands/generateSampleTrainingData.py @@ -198,7 +198,7 @@ class Command(BaseCommand): models.TrainingLevelRequirement.objects.create(level=technician, item=item, depth=random.choice(models.TrainingItemQualification.CHOICES)[0]) else: models.TrainingLevelRequirement.objects.create(level=supervisor, item=item, depth=random.choice(models.TrainingItemQualification.CHOICES)[0]) - except: # noqa + except: # noqa print("Failed create for {}. Weird.".format(item)) self.levels.append(technician)