[FIX] Back to old formatting, before revno 6565
[odoo/odoo.git] / bin / openerp-server.py
1 #! /usr/bin/env python
2 # -*- coding: UTF-8 -*-
3
4 import os
5 import sys
6
7 if __name__ == "__main__":
8     print '-' * 70
9     print "DEPRECATED: you are starting the OpenERP server with its old path,"
10     print "please use the new executable (available in the parent directory)."
11     print '-' * 70
12
13     # Change to the parent directory ...
14     os.chdir(os.path.normpath(os.path.dirname(__file__)))
15     os.chdir('..')
16     # ... and execute the new executable.
17     os.execv('openerp-server', sys.argv)
18
19 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: