From: W. Trevor King Date: Sat, 13 Oct 2012 11:24:25 +0000 (-0400) Subject: handler: expand kwargs when initializing InvalidAssignmentSubject. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8b6532aa88023147c7f0196205941b038d9b6a9d;p=pygrader.git handler: expand kwargs when initializing InvalidAssignmentSubject. --- diff --git a/pygrader/handler/__init__.py b/pygrader/handler/__init__.py index 48ea200..d263390 100644 --- a/pygrader/handler/__init__.py +++ b/pygrader/handler/__init__.py @@ -88,7 +88,7 @@ class InvalidAssignmentSubject (InvalidSubjectMessage): kwargs['error'] = 'Subject matches multiple assignments' else: kwargs['error'] = "Subject doesn't match any assignment" - super(InvalidAssignmentSubject, self).__init__(kwargs) + super(InvalidAssignmentSubject, self).__init__(**kwargs) self.assignments = assignments