diff options
Diffstat (limited to 'oslo_serialization/msgpackutils.py')
-rw-r--r-- | oslo_serialization/msgpackutils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oslo_serialization/msgpackutils.py b/oslo_serialization/msgpackutils.py index af76c4c..4206ab4 100644 --- a/oslo_serialization/msgpackutils.py +++ b/oslo_serialization/msgpackutils.py @@ -172,7 +172,7 @@ class HandlerRegistry(object): def copy(self, unfreeze=False): """Deep copy the given registry (and its handlers).""" c = type(self)() - for ident, handlers in six.iteritems(self._handlers): + for ident, handlers in self._handlers.items(): cloned_handlers = [] for h in handlers: if hasattr(h, 'copy'): |