2295.1.44
by ame (Tiny/Axelor)
[IMP] startup script |
1 |
#!/usr/bin/env python
|
4827.9.1
by Jeff Allen
Fix spaces before other commits. |
2 |
# -*- coding: utf-8 -*-
|
3306
by Amit Mendapara
[FIX] package name issues (bug #628835) |
3 |
"""Start script for the openerp-web project.
|
1261
by Amit Mendapara
* Using an entry point scripts for project start scripts (see TG-1.0.4b3). |
4 |
|
2327.1.30
by ame (Tiny/Axelor)
* removed trailing whitespace from py files. |
5 |
This script is only needed during development for running from the project
|
1261
by Amit Mendapara
* Using an entry point scripts for project start scripts (see TG-1.0.4b3). |
6 |
directory. When the project is installed, easy_install will create a
|
7 |
proper start script.
|
|
8 |
"""
|
|
9 |
||
3
by Amit Mendapara
* Merging local source on tinyerp svn server. |
10 |
import sys |
5016
by jf
Pyflakes / autopep8 |
11 |
|
2863
by ame (Tiny)
[REF] openerp-web => openobject-web (project name changed) |
12 |
from openobject.commands import start, ConfigurationError |
1261
by Amit Mendapara
* Using an entry point scripts for project start scripts (see TG-1.0.4b3). |
13 |
|
14 |
if __name__ == "__main__": |
|
15 |
try: |
|
2166
by ame (Tiny/Axelor)
[FIX] moved optparse to commands.py |
16 |
start() |
5009
by jf
Manu |
17 |
except ConfigurationError as exc: |
2106
by Stephane Wirtel
[FIX] Launch an exception if the configfile does not exist |
18 |
sys.stderr.write(str(exc)+"\n") |
1261
by Amit Mendapara
* Using an entry point scripts for project start scripts (see TG-1.0.4b3). |
19 |
sys.exit(1) |
1796
by Amit Mendapara
* Added vim settings to all python and js files |
20 |
|
21 |
# vim: ts=4 sts=4 sw=4 si et
|
|
22 |