Skip to content

Commit fd1e5fe

Browse files
author
Alexandre Ferland
committed
drop flask 0.9 support, remove unused code
1 parent 50a3071 commit fd1e5fe

File tree

5 files changed

+3
-9
lines changed

5 files changed

+3
-9
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ python:
66
env:
77
- FLASK=0.11
88
- FLASK=0.10.1
9-
- FLASK=0.9
109
install:
1110
- pip install Flask==$FLASK
1211
- pip install -r dev_requirements.txt

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ First, install Flask-SimpleLDAP:
1313
$ pip install flask-simpleldap
1414

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

1919
Next, add a ``LDAP`` instance to your code and at least the three

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ First, install Flask-SimpleLDAP:
1919
$ pip install flask-simpleldap
2020
2121
Flask-SimpleLDAP depends, and will install for you, recent versions of Flask
22-
(0.9 or later) and pyldap. Flask-SimpleLDAP is compatible
22+
(0.10.1 or later) and pyldap. Flask-SimpleLDAP is compatible
2323
with and tested on Python 2.7, 3.4 and 3.5.
2424

2525
Next, add a :class:`~flask_simpleldap.LDAP` to your code and at least the three

flask_simpleldap/__init__.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@
88

99
__all__ = ['LDAP']
1010

11-
try:
12-
from flask import _app_ctx_stack as stack
13-
except ImportError:
14-
from flask import _request_ctx_stack as stack
15-
1611

1712
class LDAPException(RuntimeError):
1813
message = None

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
include_package_data=True,
2222
platforms='any',
2323
install_requires=[
24-
'Flask>=0.10',
24+
'Flask>=0.10.1',
2525
'pyldap'
2626
],
2727
classifiers=[

0 commit comments

Comments
 (0)