projects
/
pygrader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f76dd0
)
handler: expand kwargs when initializing InvalidAssignmentSubject.
author
W. Trevor King
<wking@tremily.us>
Sat, 13 Oct 2012 11:24:25 +0000
(07:24 -0400)
committer
W. Trevor King
<wking@tremily.us>
Sat, 13 Oct 2012 11:24:25 +0000
(07:24 -0400)
pygrader/handler/__init__.py
patch
|
blob
|
history
diff --git
a/pygrader/handler/__init__.py
b/pygrader/handler/__init__.py
index 48ea2005650913685f5145ec8754880b58228d9f..d26339063f765e949cf3131cb8b40e228c00bcb0 100644
(file)
--- 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