Silence pocketlint bad-preconf-access warnings
This commit is contained in:
parent
7809da61e6
commit
0af072c77e
@ -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")
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user