From 1dea92bdfab600cdc5a39bac9c1451bc716a010e Mon Sep 17 00:00:00 2001 From: Oliver Ngowa Date: Tue, 14 Apr 2020 13:00:43 +0300 Subject: [PATCH] Pyton 2.7 compatibility --- bandwidth/voice/bxml/__init__.py | 2 +- bandwidth/voice/bxml/{response.py => response2.py} | 0 bandwidth/voice/bxml/verbs/base_verb.py | 6 +++--- 3 files changed, 4 insertions(+), 4 deletions(-) rename bandwidth/voice/bxml/{response.py => response2.py} (100%) diff --git a/bandwidth/voice/bxml/__init__.py b/bandwidth/voice/bxml/__init__.py index 27199698..565163d9 100644 --- a/bandwidth/voice/bxml/__init__.py +++ b/bandwidth/voice/bxml/__init__.py @@ -1,2 +1,2 @@ -from . import response +from . import response2 from . import verbs diff --git a/bandwidth/voice/bxml/response.py b/bandwidth/voice/bxml/response2.py similarity index 100% rename from bandwidth/voice/bxml/response.py rename to bandwidth/voice/bxml/response2.py diff --git a/bandwidth/voice/bxml/verbs/base_verb.py b/bandwidth/voice/bxml/verbs/base_verb.py index 37879636..b8f8e637 100644 --- a/bandwidth/voice/bxml/verbs/base_verb.py +++ b/bandwidth/voice/bxml/verbs/base_verb.py @@ -6,12 +6,12 @@ @copyright Bandwidth INC """ -from abc import ABC, abstractmethod +import abc -class AbstractBxmlVerb(ABC): +class AbstractBxmlVerb(): - @abstractmethod + def to_bxml(self): """ Converts the class into its xml representation