Skip to content

Commit

Permalink
[refs #106923] Upgrade Flask to 0.12.4
Browse files Browse the repository at this point in the history
  • Loading branch information
catalinjitea committed Jun 24, 2019
1 parent 0d6d6ec commit 903f914
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import logging
import os
import flask
from flask.ext import script
import flask_script

default_config = {
'LDAP_TIMEOUT': 10,
Expand Down Expand Up @@ -88,7 +88,7 @@ def __call__(self, environ, start_response):
return self.app(environ, start_response)


manager = script.Manager(create_app)
manager = flask_script.Manager(create_app)


def configuration_from_environ():
Expand Down Expand Up @@ -124,11 +124,11 @@ def configuration_from_environ():
return config


class RunCherryPyCommand(script.Command):
class RunCherryPyCommand(flask_script.Command):

option_list = [
script.Option('--port', '-p', dest='port', type=int, default=5000),
script.Option('--host', '-H', dest='host', default='127.0.0.1'),
flask_script.Option('--port', '-p', dest='port', type=int, default=5000),
flask_script.Option('--host', '-H', dest='host', default='127.0.0.1'),
]

def handle(self, app, port, host):
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ CherryPy==3.2.3
colander==0.9.9
eea.usersdb==1.3.23
Flask-Script==0.5.1
Flask==0.9
Flask==0.12.4
Jinja2==2.10.1
path.py==2.4.1
python-dateutil==2.1
Expand Down

0 comments on commit 903f914

Please sign in to comment.