76
79
# Get all subjects this user is enrolled in, and add them to the DB if
77
80
# they match one of our local subject codes
81
res = ivle.pulldown_subj.enrol_user(config, store, user, options.year)
79
82
logging.info("Enrolled user %s in %d subject%s." % (user.login, res,
80
83
'' if res == 1 else 's'))
81
84
except Exception, message: