diff options
| author | Lucas Alvares Gomes <lucasagomes@gmail.com> | 2015-07-15 16:08:10 +0100 |
|---|---|---|
| committer | Lucas Alvares Gomes <lucasagomes@gmail.com> | 2015-07-15 17:12:08 +0100 |
| commit | 06eed473fb06cc5a8b9c66157d199f6636c52cbf (patch) | |
| tree | 4b9b9dd91d91937013fe6d58e30afc617e1f29fd /ironic_python_agent/utils.py | |
| parent | fdf7b8d882255fc47d253eb7ddbaa0d16dad3c1e (diff) | |
| download | ironic-python-agent-06eed473fb06cc5a8b9c66157d199f6636c52cbf.tar.gz | |
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
Diffstat (limited to 'ironic_python_agent/utils.py')
| -rw-r--r-- | ironic_python_agent/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ironic_python_agent/utils.py b/ironic_python_agent/utils.py index 4e7367b1..04854e15 100644 --- a/ironic_python_agent/utils.py +++ b/ironic_python_agent/utils.py @@ -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 |
