File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
- from BaseHTTPServer import BaseHTTPRequestHandler
1
+ try :
2
+ from BaseHTTPServer import BaseHTTPRequestHandler
3
+ except ImportError :
4
+ from http .server import BaseHTTPRequestHandler
2
5
3
6
4
7
class HTTPError (Exception ):
Original file line number Diff line number Diff line change 1
1
import requests
2
2
3
- from httperror import HTTPError
3
+ from fleece . httperror import HTTPError
4
4
5
5
6
6
def authenticate ():
Original file line number Diff line number Diff line change 1
1
[tox]
2
- envlist = py27,style
2
+ envlist = py27,py34, style
3
3
4
4
[testenv]
5
5
install_command = pip install -U {opts} {packages}
@@ -16,4 +16,4 @@ commands =
16
16
flake8 fleece setup.py --statistics --exclude tests
17
17
flake8 tests --statistics --ignore D100,D101,D102
18
18
# TODO(BS): Turn pylint back on once things get cleaned up.
19
- # pylint fleece setup.py
19
+ # pylint fleece setup.py
You can’t perform that action at this time.
0 commit comments