~unifield-team/unifield-web/web-utp-816

2295.1.44 by ame (Tiny/Axelor)
[IMP] startup script
1
#!/usr/bin/env python
1261 by Amit Mendapara
* Using an entry point scripts for project start scripts (see TG-1.0.4b3).
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
2863 by ame (Tiny)
[REF] openerp-web => openobject-web (project name changed)
11
from openobject.commands import start, ConfigurationError
1261 by Amit Mendapara
* Using an entry point scripts for project start scripts (see TG-1.0.4b3).
12
13
if __name__ == "__main__":
14
    try:
2166 by ame (Tiny/Axelor)
[FIX] moved optparse to commands.py
15
        start()
1261 by Amit Mendapara
* Using an entry point scripts for project start scripts (see TG-1.0.4b3).
16
    except ConfigurationError, exc:
2106 by Stephane Wirtel
[FIX] Launch an exception if the configfile does not exist
17
        sys.stderr.write(str(exc)+"\n")
1261 by Amit Mendapara
* Using an entry point scripts for project start scripts (see TG-1.0.4b3).
18
        sys.exit(1)
1796 by Amit Mendapara
* Added vim settings to all python and js files
19
20
# vim: ts=4 sts=4 sw=4 si et
21