Silence pocketlint bad-preconf-access warnings

This commit is contained in:
Alexander Todorov 2017-12-21 12:19:34 +02:00 committed by Brian C. Lane
parent 7809da61e6
commit 0af072c77e
2 changed files with 4 additions and 1 deletions

View File

@ -14,6 +14,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# pylint: disable=bad-preconf-access
import logging
log = logging.getLogger("lorax-composer")

View File

@ -19,6 +19,8 @@
#
# Red Hat Author(s): Martin Gracik <mgracik@redhat.com>
#
# pylint: disable=bad-preconf-access
from __future__ import print_function
import logging
@ -341,7 +343,6 @@ def get_yum_base_object(installroot, repositories, mirrorlists=None, repo_files=
yb.preconf.fn = yumconf
yb.preconf.root = installroot
#yb.repos.setCacheDir(cachedir)
if releasever:
yb.preconf.releasever = releasever