Fix most warnings

This commit is contained in:
Tulir Asokan
2018-02-04 20:31:42 +02:00
parent 4ad0b185b4
commit ceeeefeae6
9 changed files with 89 additions and 92 deletions
+4 -4
View File
@@ -14,16 +14,16 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import ruamel.yaml
from ruamel.yaml import YAML
import random
import string
yaml = ruamel.yaml.YAML()
yaml = YAML()
class DictWithRecursion:
def __init__(self, data={}):
self._data = data
def __init__(self, data=None):
self._data = data or {}
def _recursive_get(self, data, key, default_value):
if '.' in key: