diff --git a/src/pylorax/api/yumbase.py b/src/pylorax/api/yumbase.py
index 996bfeca..c770be90 100644
--- a/src/pylorax/api/yumbase.py
+++ b/src/pylorax/api/yumbase.py
@@ -14,6 +14,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
#
+# pylint: disable=bad-preconf-access
+
import logging
log = logging.getLogger("lorax-composer")
diff --git a/src/sbin/lorax b/src/sbin/lorax
index 08eb7054..5f6ac28f 100755
--- a/src/sbin/lorax
+++ b/src/sbin/lorax
@@ -19,6 +19,8 @@
#
# Red Hat Author(s): Martin Gracik
#
+# 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