[
https://issues.apache.org/jira/browse/DISPATCH-1539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17371960#comment-17371960
]
ASF GitHub Bot commented on DISPATCH-1539:
------------------------------------------
jiridanek commented on a change in pull request #1279:
URL: https://github.com/apache/qpid-dispatch/pull/1279#discussion_r661387579
##########
File path: tests/management_test/schema.py
##########
@@ -22,19 +22,9 @@
import unittest
import json
-from collections import OrderedDict
from qpid_dispatch_internal.management.schema import Schema, BooleanType,
EnumType, AttributeType, ValidationError, EnumValue, EntityType
-def replace_od(thing):
- """Replace OrderedDict with dict"""
- if isinstance(thing, OrderedDict):
- return dict((k, replace_od(v)) for k, v in thing.items())
- if isinstance(thing, list):
- return [replace_od(t) for t in thing]
- return thing
Review comment:
dead code
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
> Python 2 has expired. What is the qpid-dispatch strategy going forward?
> -----------------------------------------------------------------------
>
> Key: DISPATCH-1539
> URL: https://issues.apache.org/jira/browse/DISPATCH-1539
> Project: Qpid Dispatch
> Issue Type: Improvement
> Reporter: Charles E. Rolke
> Assignee: Charles E. Rolke
> Priority: Major
> Fix For: 1.17.0
>
>
> [https://www.python.org/doc/sunset-python-2/]
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]