Skip to content

Commit

Permalink
Merge pull request #59 from MindscapeHQ/v3.1.5
Browse files Browse the repository at this point in the history
Fix syntax error typo in WSGI middleware, py2/3. Closes #58
  • Loading branch information
fundead authored May 29, 2017
2 parents 5c22ed5 + 14e78c3 commit 5f15eff
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ language: python

cache: pip

python: ["2.6", "2.7", "3.2", "3.3", "3.4", "3.5", "pypy"]
python: ["2.6", "2.7", "3.2", "3.3", "3.4", "3.5", "3.6", "pypy"]

install:
- pip install jsonpickle
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
3.1.5

- Fix a syntax error in the WSGI middlewre introduced in 3.1.4
- Relaxes dependency requirements for jsonpickle etc

3.1.4

- Fix runtime bugs involving the WSGI pipeline, a local variable accessor edge case, and a pickling old-style classes exception
Expand Down
2 changes: 1 addition & 1 deletion python2/raygun4py/middleware/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def __call__(self, environ, start_response):
def build_request(self, environ):
request = {}

http_host = environ.get('HTTP_HOST'], None)
http_host = environ.get(['HTTP_HOST'], None)
if http_host is not None:
http_host = http_host.replace(' ', '')

Expand Down
2 changes: 1 addition & 1 deletion python3/raygun4py/middleware/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def __call__(self, environ, start_response):
def build_request(self, environ):
request = {}

http_host = environ.get('HTTP_HOST'], None)
http_host = environ.get(['HTTP_HOST'], None)
if http_host is not None:
http_host = http_host.replace(' ', '')

Expand Down
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setup(
name='raygun4py',
version='3.1.4',
version='3.1.5',
packages=packages,
package_dir= {
"raygun4py": base_dir + "/raygun4py"
Expand All @@ -22,9 +22,9 @@
description='Official Raygun provider for Python 2.6/2.7 and Python 3+',
long_description=open('README.rst').read(),
install_requires=[
'jsonpickle == 0.9.2',
'blinker == 1.3.0',
'requests == 2.9.1'
'jsonpickle >= 0.9.2',
'blinker >= 1.3.0',
'requests >= 2.9.1'
],
entry_points={
'console_scripts': [
Expand Down

0 comments on commit 5f15eff

Please sign in to comment.