Skip to content

Commit

Permalink
Version 1.1.1
Browse files Browse the repository at this point in the history
    - Fix ``BaseHandler`` obscuring ``AttributeError`` during dispatch
  • Loading branch information
kipanshi committed Nov 22, 2013
1 parent 81cbf34 commit 78f2a94
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 7 deletions.
50 changes: 48 additions & 2 deletions .gitignore
@@ -1,4 +1,50 @@
*.*~
*.pyc
development.ini
*.egg-info

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]

# C extensions
*.so

# Distribution / packaging
bin/
build/
develop-eggs/
dist/
eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
.tox/
.coverage
.cache
nosetests.xml
coverage.xml

# Translations
*.mo

# Mr Developer
.mr.developer.cfg
.project
.pydevproject

# Django stuff:
*.log
*.pot

# Sphinx documentation
docs/_build/
6 changes: 4 additions & 2 deletions CHANGES.rst
@@ -1,12 +1,14 @@
1.1.1
-----
- Fix ``BaseHandler`` obscuring ``AttributeError`` during dispatch

1.1
---

- Use ``override_offset`` for overriding ``forbidden.jinja2`` template.
- If user is authenticated but is not authrized for some view,
render ``forbidden`` page with **Log out** link instead of redirect
to avoid redirect loop

1.0
---

- Initial version.
4 changes: 2 additions & 2 deletions pyramid_odesk/views.py
Expand Up @@ -20,8 +20,8 @@ def __call__(self):
method = self.request.method
try:
return getattr(self, method.lower())()
except (AttributeError, NotImplementedError):
raise HTTPMethodNotAllowed
except NotImplementedError:
raise HTTPMethodNotAllowed(method)

def get(self):
raise NotImplementedError
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -13,7 +13,7 @@
]

setup(name='pyramid_odesk',
version='1.1',
version='1.1.1',
description='pyramid_odesk',
long_description=README + '\n\n' + CHANGES,
classifiers=[
Expand Down

0 comments on commit 78f2a94

Please sign in to comment.