Add Python3 support

This patch add Python 3 support for IPA. We still need to enable it on
gate to avoid code breaking the support from sneaking in.

Partial-Bug: #1474896
Depends-On: I5a774eaa8d978f4d50faca4dc1b03a87fb194ce2
Change-Id: If47c0797b63d2914b3c47aba62ec5201301b6c33
This commit is contained in:
Lucas Alvares Gomes
2015-07-15 16:08:10 +01:00
parent fdf7b8d882
commit 06eed473fb
8 changed files with 35 additions and 37 deletions

@ -228,7 +228,7 @@ def parse_root_device_hints():
raise errors.DeviceNotFound(error_msg)
# Normalise the values
hints = {k: normalize(v) for k, v in hints.iteritems()}
hints = {k: normalize(v) for k, v in hints.items()}
if 'size' in hints:
# NOTE(lucasagomes): Ironic should validate before passing to