Skip to content

Commit 0786669

Browse files
author
Elias Nygren
committed
add 26 and 27 to tox.ini, fix things missed by pasteurize
1 parent 23af99d commit 0786669

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
future==0.14.3
12
mock==1.0.1
23
py==1.4.26
34
pytest==2.6.4
45
requests==2.6.0
56
responses==0.3.0
67
six==1.9.0
8+
wheel==0.24.0

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# and then run "tox" from this directory.
55

66
[tox]
7-
envlist = py32, py33, py34, py35, pypy3
7+
envlist = py26, py27, py32, py33, py34, py35, pypy3
88

99
[testenv]
1010
commands = py.test test/

upcloud/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def __init__(self, token):
2020
Handles errors with __error_middleware.
2121
"""
2222
def request(self, method, endpoint, body=None):
23-
if(method not in {"GET", "POST", "PUT", "DELETE"}):
23+
if(method not in set(["GET", "POST", "PUT", "DELETE"])):
2424
raise Exception("Invalid/Forbidden HTTP method")
2525

2626
url = "/" + self.api_v + endpoint

upcloud/cloud_manager/ip_address_mixin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from __future__ import absolute_import
55
from future import standard_library
66
standard_library.install_aliases()
7-
from builtins import object
7+
from builtins import object, str
88
from ..ip_address import IP_address
99

1010
class IPManager(object):

0 commit comments

Comments
 (0)