summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkihiro Motoki <amotoki@gmail.com>2019-12-17 14:43:05 +0900
committerAkihiro Motoki <amotoki@gmail.com>2019-12-17 14:43:05 +0900
commitd5c516a5a288003ca661091152c1a8ebfa527909 (patch)
treeac3dab43bad0bf61a9f79da9ab42a2a522702d5d
parente68234ecf6ce402660dd0577b8b86513594a6005 (diff)
downloadpython-neutronclient-d5c516a5a288003ca661091152c1a8ebfa527909.tar.gz
Drop python3 hack for XML serializer
It was added in https://review.opendev.org/#/c/110947/ to make the XML serializer work in python 3. We dropped the XML serializer support long ago. I believe we can drop it safely. Change-Id: I208de891515cb2cbdde779013ba58f19e36fc55c
-rw-r--r--neutronclient/common/serializer.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/neutronclient/common/serializer.py b/neutronclient/common/serializer.py
index fdf7677..98865a6 100644
--- a/neutronclient/common/serializer.py
+++ b/neutronclient/common/serializer.py
@@ -20,10 +20,6 @@ from neutronclient._i18n import _
from neutronclient.common import exceptions as exception
-if six.PY3:
- long = int
-
-
class ActionDispatcher(object):
"""Maps method name to local methods through action name."""