Skip to content
Snippets Groups Projects
Commit a4892146 authored by dcz's avatar dcz
Browse files

Logging bugfix.

parent 4aae77e5
Branches
Tags
No related merge requests found
......@@ -53,7 +53,7 @@ class UnifiedFrame(models.Model):
new_unified_frame_arguments = UnifiedFrameArgument.objects.filter(unified_frame=new_frame).all()
unified_frame_arguments = UnifiedFrameArgument.objects.filter(unified_frame=self).all()
if len(new_unified_frame_arguments) < len(unified_frame_arguments):
raise Exception('Target frame has to little arguments, required: ' + len(unified_frame_arguments)+', but found: '+len(new_unified_frame_arguments))
raise Exception('Target frame has to little arguments, required: ' + str(len(unified_frame_arguments))+', but found: '+str(len(new_unified_frame_arguments)))
for slowal_frame in slowal_frames:
mapping = UnifiedFrame2SlowalFrameMapping.objects.get(unified_frame=self, slowal_frame=slowal_frame)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment