summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Morel <xmo@tinyerp.com>2009-12-02 11:06:58 +0100
committerXavier Morel <xmo@tinyerp.com>2009-12-02 11:06:58 +0100
commit9bb02a1bb021b98aa4b3530e43f89721a6a02bb4 (patch)
tree75a75e6b5589f579c44f961be9c4a117a80d371e
parent2f6de41fbfc211c2938f70110898d461bb1df54d (diff)
[fix] use env for python shebang rather than hardcoding /usr/bin/python
bzr revid: xmo@tinyerp.com-20091202100658-d2q66mu6kihgj8h5
-rwxr-xr-xbin/addons/module_graph.py2
-rw-r--r--bin/netsvc.py2
-rwxr-xr-xbin/openerp-server.py2
-rw-r--r--bin/osv/orm.py2
-rw-r--r--bin/report/render/odt2odt/__init__.py2
-rw-r--r--bin/report/render/rml2html/rml2html.py2
-rw-r--r--bin/tools/graph.py2
-rw-r--r--doc/tests/check_profile_l10n_all.py2
8 files changed, 8 insertions, 8 deletions
diff --git a/bin/addons/module_graph.py b/bin/addons/module_graph.py
index 68cfb679804..6a21e053ccf 100755
--- a/bin/addons/module_graph.py
+++ b/bin/addons/module_graph.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# -*- encoding: utf-8 -*-
##############################################################################
#
diff --git a/bin/netsvc.py b/bin/netsvc.py
index 56d0eb2918a..66c4d9e3dea 100644
--- a/bin/netsvc.py
+++ b/bin/netsvc.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# -*- encoding: utf-8 -*-
##############################################################################
#
diff --git a/bin/openerp-server.py b/bin/openerp-server.py
index 3971f2fa779..d6f1bf260bc 100755
--- a/bin/openerp-server.py
+++ b/bin/openerp-server.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# -*- encoding: utf-8 -*-
##############################################################################
#
diff --git a/bin/osv/orm.py b/bin/osv/orm.py
index c8469c1ccc5..df843225ad7 100644
--- a/bin/osv/orm.py
+++ b/bin/osv/orm.py
@@ -3074,4 +3074,4 @@ class orm(orm_template):
return False
return True
-# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: \ No newline at end of file
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/bin/report/render/odt2odt/__init__.py b/bin/report/render/odt2odt/__init__.py
index 9163b6eb222..b033149a972 100644
--- a/bin/report/render/odt2odt/__init__.py
+++ b/bin/report/render/odt2odt/__init__.py
@@ -19,4 +19,4 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
-from odt2odt import parseNode \ No newline at end of file
+from odt2odt import parseNode
diff --git a/bin/report/render/rml2html/rml2html.py b/bin/report/render/rml2html/rml2html.py
index 5e7bb5cf4e9..8f0197b32df 100644
--- a/bin/report/render/rml2html/rml2html.py
+++ b/bin/report/render/rml2html/rml2html.py
@@ -458,4 +458,4 @@ if __name__=="__main__":
print 'Usage: trml2pdf input.rml >output.pdf'
print 'Try \'trml2pdf --help\' for more information.'
-# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: \ No newline at end of file
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/bin/tools/graph.py b/bin/tools/graph.py
index 9d246e4037f..d6a26deb3c2 100644
--- a/bin/tools/graph.py
+++ b/bin/tools/graph.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# -*- encoding: utf-8 -*-
##############################################################################
#
diff --git a/doc/tests/check_profile_l10n_all.py b/doc/tests/check_profile_l10n_all.py
index f85ebfeb946..610c2b494cf 100644
--- a/doc/tests/check_profile_l10n_all.py
+++ b/doc/tests/check_profile_l10n_all.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# -*- encoding: utf-8 -*-
##############################################################################
#