Commit 7a923cf5 by Davorin Sego

fix errors

parent ab923ea2
...@@ -169,6 +169,7 @@ class BulkOperationsMixin(object): ...@@ -169,6 +169,7 @@ class BulkOperationsMixin(object):
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
super(BulkOperationsMixin, self).__init__(*args, **kwargs) super(BulkOperationsMixin, self).__init__(*args, **kwargs)
self._active_bulk_ops = ActiveBulkThread(self._bulk_ops_record_type) self._active_bulk_ops = ActiveBulkThread(self._bulk_ops_record_type)
self.signal_handler = None
@contextmanager @contextmanager
def bulk_operations(self, course_id, emit_signals=True): def bulk_operations(self, course_id, emit_signals=True):
......
# pylint: disable=missing-docstring
class NullHandler(object): class NullHandler(object):
""" """
Responds to an any method call. Responds to an any method call.
""" """
def __getattr__(self, name): def __getattr__(self, name):
def method(*args, **kwargs): def method(*args, **kwargs): # pylint: disable=unused-argument
pass pass
return method return method
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