from __future__ import absolute_import, division, print_function

import sys
import jinja2

from flask import Flask
from utility import formatting

import logging
logger = logging.getLogger(__name__ )
logging.basicConfig(level=logging.INFO)

app = Flask(__name__)

app.config.from_object('cfg.default_settings')   # Get the defaults from cfg.default_settings
app.config.from_envvar('GN2_SETTINGS')       # See http://flask.pocoo.org/docs/config/#configuring-from-files
# Note no longer use the badly named WQFLASK_OVERRIDES (nyi)

app.jinja_env.globals.update(
    undefined = jinja2.StrictUndefined,
    numify = formatting.numify
)

from wqflask.api import router
import wqflask.views
@@ -262,102 +262,8 @@
 _)%0A%0A
-app.config.from_object('cfg.default_settings')   # Get the defaults from cfg.default_settings%0A
 app.
@@ -585,8 +585,9 @@
 sk.views
+%0A

Remove unused config