Skip to content

Commit

Permalink
drop flask 0.9 support, remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandre Ferland committed Jun 5, 2016
1 parent 50a3071 commit fd1e5fe
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 9 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ python:
env:
- FLASK=0.11
- FLASK=0.10.1
- FLASK=0.9
install:
- pip install Flask==$FLASK
- pip install -r dev_requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ First, install Flask-SimpleLDAP:
$ pip install flask-simpleldap

Flask-SimpleLDAP depends, and will install for you, recent versions of Flask
(0.9 or later) and [pyldap](https://github.com/pyldap/pyldap). Flask-SimpleLDAP is compatible
(0.10.1 or later) and [pyldap](https://github.com/pyldap/pyldap). Flask-SimpleLDAP is compatible
with and tested on Python 2.7, 3.4 and 3.5.

Next, add a ``LDAP`` instance to your code and at least the three
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ First, install Flask-SimpleLDAP:
$ pip install flask-simpleldap
Flask-SimpleLDAP depends, and will install for you, recent versions of Flask
(0.9 or later) and pyldap. Flask-SimpleLDAP is compatible
(0.10.1 or later) and pyldap. Flask-SimpleLDAP is compatible
with and tested on Python 2.7, 3.4 and 3.5.

Next, add a :class:`~flask_simpleldap.LDAP` to your code and at least the three
Expand Down
5 changes: 0 additions & 5 deletions flask_simpleldap/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@

__all__ = ['LDAP']

try:
from flask import _app_ctx_stack as stack
except ImportError:
from flask import _request_ctx_stack as stack


class LDAPException(RuntimeError):
message = None
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
include_package_data=True,
platforms='any',
install_requires=[
'Flask>=0.10',
'Flask>=0.10.1',
'pyldap'
],
classifiers=[
Expand Down

0 comments on commit fd1e5fe

Please sign in to comment.