From 7a5f0b7d240929f0241a06f76f4ceb9c56376601 Mon Sep 17 00:00:00 2001 From: usama sadiq Date: Wed, 26 Jun 2019 13:01:39 +0500 Subject: [PATCH] Pylint Warning Supression Removed --- lms/djangoapps/certificates/tasks.py | 3 +++ openedx/core/lib/api/view_utils.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lms/djangoapps/certificates/tasks.py b/lms/djangoapps/certificates/tasks.py index 850a432a49..29af55acc4 100644 --- a/lms/djangoapps/certificates/tasks.py +++ b/lms/djangoapps/certificates/tasks.py @@ -1,3 +1,6 @@ +""" +Module for generating certificate for a user +""" from __future__ import absolute_import from celery import task diff --git a/openedx/core/lib/api/view_utils.py b/openedx/core/lib/api/view_utils.py index d3adad6417..5308cdb383 100644 --- a/openedx/core/lib/api/view_utils.py +++ b/openedx/core/lib/api/view_utils.py @@ -223,7 +223,7 @@ class LazySequence(Sequence): It is immutable, and accepts an estimated length in order to support __len__ without exhausting the underlying sequence """ - def __init__(self, iterable, est_len=None): # pylint: disable=super-init-not-called + def __init__(self, iterable, est_len=None): self.iterable = iterable self.est_len = est_len self._data = []