pylint fixes

This commit is contained in:
Michael Calmer 2017-11-16 14:25:19 +01:00
parent b6365aee3c
commit f3f1abe5ff

View File

@ -20,7 +20,6 @@ import re
import os
import time
import datetime
import copy
# Import 3rd-party libs
# pylint: disable=import-error,redefined-builtin,no-name-in-module
@ -1865,7 +1864,7 @@ def search(criteria, refresh=False, **kwargs):
out = {}
for solvable in solvables:
out[solvable.getAttribute('name')] = dict()
for k,v in solvable.attributes.items():
for k, v in solvable.attributes.items():
out[solvable.getAttribute('name')][k] = v
return out
@ -2122,6 +2121,7 @@ def list_installed_patches():
'''
return _get_patches(installed_only=True)
def list_provides(**kwargs):
'''
List package provides currently installed as a dict.
@ -2144,6 +2144,7 @@ def list_provides(**kwargs):
return ret
def resolve_capabilities(pkgs, refresh, **kwargs):
'''
.. versionadded:: Oxygen