Skip to content

Commit e987ecf

Browse files
committed
Removed Flask-Common. Fixed postmanlabs#442.
1 parent f22f72a commit e987ecf

File tree

4 files changed

+14
-170
lines changed

4 files changed

+14
-170
lines changed

Pipfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ decorator = "*"
88
brotlipy = "*"
99
gevent = "*"
1010
Flask = "*"
11-
Flask-Common = "*"
1211
meinheld = "*"
1312
werkzeug = ">=0.14.1"
1413

Pipfile.lock

Lines changed: 13 additions & 164 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

httpbin/core.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
import argparse
1717

1818
from flask import Flask, Response, request, render_template, redirect, jsonify as flask_jsonify, make_response, url_for, abort
19-
from flask_common import Common
2019
from six.moves import range as xrange
2120
from werkzeug.datastructures import WWWAuthenticate, MultiDict
2221
from werkzeug.http import http_date
@@ -57,9 +56,6 @@ def jsonify(*args, **kwargs):
5756
app = Flask(__name__, template_folder=tmpl_dir)
5857
app.debug = bool(os.environ.get('DEBUG'))
5958

60-
# Setup Flask-Common.
61-
common = Common(app)
62-
6359
# Send app errors to Sentry.
6460
if 'SENTRY_DSN' in os.environ:
6561
sentry = Sentry(app, dsn=os.environ['SENTRY_DSN'])

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@
3535
include_package_data = True, # include files listed in MANIFEST.in
3636
install_requires=[
3737
'Flask', 'MarkupSafe', 'decorator', 'itsdangerous', 'six', 'brotlipy',
38-
'raven[flask]', 'Flask-Common', 'werkzeug>=0.14.1'
38+
'raven[flask]', 'werkzeug>=0.14.1'
3939
],
4040
)

0 commit comments

Comments
 (0)