8000 Import with from __future__ for python 2.5 support · stomatocode/twilio-python@d498c14 · GitHub
[go: up one dir, main page]

Skip to content
10000

Commit d498c14

Browse files
committed
Import with from __future__ for python 2.5 support
1 parent 87c8666 commit d498c14

File tree

8 files changed

+12
-1
lines changed

8 files changed

+12
-1
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# twilio-python
2+
3+
[![Build Status](https://secure.travis-ci.org/twilio/twilio-python.png?branch=master)](http://travis-ci.org/twilio/twilio-python)
4+
15
A module for using the Twilio REST API and generating valid
26
[TwiML](http://www.twilio.com/docs/api/twiml/ "TwiML -
37
Twilio Markup Language"). [Click here to read the full

tests/resources/process.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import json
66
import random
77
import os
8+
from __future__ import with_statement
89

910
sid = "ed59a5733d2c1c1c69a83a28"
1011

tests/test_authorized_connect_apps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from twilio import TwilioException
44
from twilio.rest.resources import AuthorizedConnectApps
55
from twilio.rest.resources import AuthorizedConnectApp
6-
6+
from __future__ import with_statement
77

88
class AuthorizedConnectAppTest(unittest.TestCase):
99

tests/test_available_phonenumber.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from twilio.rest.resources import AvailablePhoneNumber
55
from twilio.rest.resources import AvailablePhoneNumbers
66
from twilio.rest.resources import PhoneNumbers
7+
from __future__ import with_statement
78

89

910
class AvailablePhoneNumberTest(unittest.TestCase):

tests/test_connect_apps.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from twilio import TwilioException
44
from twilio.rest.resources import ConnectApps
55
from twilio.rest.resources import ConnectApp
6+
from __future__ import with_statement
67

78

89
class ConnectAppTest(unittest.TestCase):

tests/test_phone_numbers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from twilio import TwilioException
55
from twilio.rest.resources import PhoneNumbers
66
from twilio.rest.resources import PhoneNumber
7+
from __future__ import with_statement
78

89

910
class PhoneNumberTest(unittest.TestCase):

tests/test_twiml.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
from twilio.twiml import TwimlException
77
from twilio.twiml import Response
88
import xml.etree.ElementTree as ET
9+
from __future__ import with_statement
10+
911

1012
class TwilioTest(unittest.TestCase):
1113
def strip(self, xml):

tests/tools.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from mock import Mock
2+
from __future__ import with_statement
23

34
def create_mock_json(path):
45
with open(path) as f:

0 commit comments

Comments
 (0)
0