Commit f987f99a by Bridger Maxwell

Changed CourseGrader to be an abstract base class.

parent 9ee09ec9
import abc
import logging import logging
from django.conf import settings from django.conf import settings
...@@ -86,6 +87,10 @@ class CourseGrader(object): ...@@ -86,6 +87,10 @@ class CourseGrader(object):
""" """
__metaclass__ = abc.ABCMeta
@abc.abstractmethod
def grade(self, grade_sheet): def grade(self, grade_sheet):
raise NotImplementedError raise NotImplementedError
......
Markdown is supported
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