← Back to team overview

savoirfairelinux-openerp team mailing list archive

[Merge] lp:~savoirfairelinux-openerp/lp-community-utils/pep394 into lp:lp-community-utils

 

Sandy Carter (http://www.savoirfairelinux.com) has proposed merging lp:~savoirfairelinux-openerp/lp-community-utils/pep394 into lp:lp-community-utils.

Requested reviews:
  OpenERP Community Reviewer/Maintainer (openerp-community-reviewer)

For more details, see:
https://code.launchpad.net/~savoirfairelinux-openerp/lp-community-utils/pep394/+merge/204535

Adapted to crushbangs to PEP394 specifications.

The reason for this is added portability since not all distributions use python2 as the default python.
The biggest distro to use python3 as the target of the python symlink is Arch Linux.

`/usr/bin/env python` should only be used when code can be run in both python2 and python3
-- 
https://code.launchpad.net/~savoirfairelinux-openerp/lp-community-utils/pep394/+merge/204535
Your team Savoir-faire Linux' OpenERP is subscribed to branch lp:~savoirfairelinux-openerp/lp-community-utils/pep394.
=== modified file 'clone_mp_to_community.py'
--- clone_mp_to_community.py	2013-09-22 14:36:16 +0000
+++ clone_mp_to_community.py	2014-02-03 16:51:43 +0000
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python2
 # -*- coding: utf-8 -*-
 #
 #

=== modified file 'merge_mp.py'
--- merge_mp.py	2013-09-22 14:36:16 +0000
+++ merge_mp.py	2014-02-03 16:51:43 +0000
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python2
 # -*- coding: utf-8 -*-
 #
 #

=== modified file 'openerp-nag'
--- openerp-nag	2013-09-22 14:36:16 +0000
+++ openerp-nag	2014-02-03 16:51:43 +0000
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 # Copyright 2012 Canonical Ltd.
 # Written by:
 #   Zygmunt Krynicki <zygmunt.krynicki@xxxxxxxxxxxxx>

=== modified file 'replay_missing.py'
--- replay_missing.py	2013-09-22 14:36:16 +0000
+++ replay_missing.py	2014-02-03 16:51:43 +0000
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python2
 # -*- coding: utf-8 -*-
 #
 #


Follow ups