it's spelled relengapi, dammit

This commit is contained in:
Dustin J. Mitchell 2014-02-14 14:44:54 -05:00
Родитель 8c34b13ae4
Коммит 044b476ef3
3 изменённых файлов: 3 добавлений и 3 удалений

2
.gitignore поставляемый
Просмотреть файл

@ -1,4 +1,4 @@
releng_api.egg-info/
relengapi.egg-info/
*.pyc
*.egg-info
TODO.txt

Просмотреть файл

@ -17,7 +17,7 @@ relengapi.browser_id = BrowserID()
def create_app(cmdline=False):
app = Flask(__name__)
app.config.from_envvar('RELENG_API_SETTINGS')
app.config.from_envvar('RELENGAPI_SETTINGS')
# get blueprints from pkg_resources
for ep in pkg_resources.iter_entry_points('relengapi_blueprints'):

Просмотреть файл

@ -1,7 +1,7 @@
Application Configuration
=========================
Releng API Configuration should be stored in a file pointed to by the ``RELENG_API_SETTINGS`` variable.
Releng API Configuration should be stored in a file pointed to by the ``RELENGAPI_SETTINGS`` variable.
This is a typical Flask configuration file: a Python file from which any uppercase variables are extracted as configuration parameters.
For example::