Fixing scripts' headers to make them executable

Change-Id: I81fd61419523eecaa3926e02cfe5aac843a5a07a
This commit is contained in:
Renat Akhmerov 2013-12-19 21:08:45 +07:00
parent 50bebda734
commit a4379bc139
6 changed files with 9 additions and 3 deletions

View File

@ -20,5 +20,5 @@ Open *etc/mistral.conf* file and fix configuration properties as needed. For exa
### Running Mistral API server
To run Mistral API server perform the following commands in a shell:
*tox -epy27 -- /mistral/cmd/api.py --config-file etc/mistral.conf*
*tox -evenv -- mistral/cmd/api.py --config-file etc/mistral.conf*

View File

@ -17,7 +17,7 @@
app = {
'root': 'mistral.api.controllers.root.RootController',
'modules': ['mistral.api'],
'debug': True,
'debug': False,
'auth_enable': True
}

1
mistral/cmd/api.py Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2013 - Mirantis, Inc.

1
mistral/cmd/task_executor.py Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2013 - Mirantis, Inc.

2
scripts/convey_task_result.py Normal file → Executable file
View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
import sys
from mistralclient.api import client as cl

2
scripts/upload_workbook_and_run.py Normal file → Executable file
View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
from mistralclient.api import client as cl
client = cl.Client(project_name="mistral",