r350319 - Portable Python script across Python version
Serge Guelton via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 3 06:27:05 PST 2019
Author: serge_sans_paille
Date: Thu Jan 3 06:27:05 2019
New Revision: 350319
URL: http://llvm.org/viewvc/llvm-project?rev=350319&view=rev
Log:
Portable Python script across Python version
Get rid of Python version specific shebang.
Differential Revision: https://reviews.llvm.org/D55207
Modified:
cfe/trunk/utils/check_cfc/check_cfc.py
cfe/trunk/utils/check_cfc/obj_diff.py
cfe/trunk/utils/check_cfc/test_check_cfc.py
Modified: cfe/trunk/utils/check_cfc/check_cfc.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/check_cfc/check_cfc.py?rev=350319&r1=350318&r2=350319&view=diff
==============================================================================
--- cfe/trunk/utils/check_cfc/check_cfc.py (original)
+++ cfe/trunk/utils/check_cfc/check_cfc.py Thu Jan 3 06:27:05 2019
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.7
+#!/usr/bin/env python
"""Check CFC - Check Compile Flow Consistency
Modified: cfe/trunk/utils/check_cfc/obj_diff.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/check_cfc/obj_diff.py?rev=350319&r1=350318&r2=350319&view=diff
==============================================================================
--- cfe/trunk/utils/check_cfc/obj_diff.py (original)
+++ cfe/trunk/utils/check_cfc/obj_diff.py Thu Jan 3 06:27:05 2019
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.7
+#!/usr/bin/env python
from __future__ import absolute_import, division, print_function
Modified: cfe/trunk/utils/check_cfc/test_check_cfc.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/check_cfc/test_check_cfc.py?rev=350319&r1=350318&r2=350319&view=diff
==============================================================================
--- cfe/trunk/utils/check_cfc/test_check_cfc.py (original)
+++ cfe/trunk/utils/check_cfc/test_check_cfc.py Thu Jan 3 06:27:05 2019
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.7
+#!/usr/bin/env python
"""Test internal functions within check_cfc.py."""
More information about the cfe-commits
mailing list