'Execute the command'

def handle(self, *args, **options):

    course_id = options.get('course_id', None)
    course_key = CourseKey.from_string(course_id)
    owning_store = modulestore()._get_modulestore_for_courselike(course_key)
    if hasattr(owning_store, 'fix_not_found'):
        owning_store.fix_not_found(course_key, ModuleStoreEnum.UserID.mgmt_command)
    else:
        raise CommandError('The    owning    modulestore    does    not    support    this    command.')
