[PATCH] D55207: Python 2/3 compat - shebang

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 3 06:30:45 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL350319: Portable Python script across Python version (authored by serge_sans_paille, committed by ).
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D55207?vs=176349&id=180063#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55207/new/

https://reviews.llvm.org/D55207

Files:
  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


Index: cfe/trunk/utils/check_cfc/obj_diff.py
===================================================================
--- cfe/trunk/utils/check_cfc/obj_diff.py
+++ cfe/trunk/utils/check_cfc/obj_diff.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.7
+#!/usr/bin/env python
 
 from __future__ import absolute_import, division, print_function
 
Index: cfe/trunk/utils/check_cfc/check_cfc.py
===================================================================
--- cfe/trunk/utils/check_cfc/check_cfc.py
+++ cfe/trunk/utils/check_cfc/check_cfc.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.7
+#!/usr/bin/env python
 
 """Check CFC - Check Compile Flow Consistency
 
Index: cfe/trunk/utils/check_cfc/test_check_cfc.py
===================================================================
--- cfe/trunk/utils/check_cfc/test_check_cfc.py
+++ cfe/trunk/utils/check_cfc/test_check_cfc.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.7
+#!/usr/bin/env python
 
 """Test internal functions within check_cfc.py."""
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55207.180063.patch
Type: text/x-patch
Size: 984 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190103/2fb17c4f/attachment.bin>


More information about the llvm-commits mailing list