1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
|
From: Jochen Sprickerhof <git@jochen.sprickerhof.de>
Date: Sun, 13 Oct 2019 22:46:41 +0200
Subject: Switch to Python 3
---
core/rosbuild/core/rosbuild/bin/check_same_directories.py | 2 +-
core/rosbuild/core/rosbuild/bin/download_checkmd5.py | 2 +-
core/rosbuild/tests/count_cores.py | 2 +-
core/roslib/scripts/gendeps | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/core/rosbuild/core/rosbuild/bin/check_same_directories.py b/core/rosbuild/core/rosbuild/bin/check_same_directories.py
index be914f4..2dd7bf6 100755
--- a/core/rosbuild/core/rosbuild/bin/check_same_directories.py
+++ b/core/rosbuild/core/rosbuild/bin/check_same_directories.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Software License Agreement (BSD License)
#
diff --git a/core/rosbuild/core/rosbuild/bin/download_checkmd5.py b/core/rosbuild/core/rosbuild/bin/download_checkmd5.py
index 237a1cf..bc9c334 100755
--- a/core/rosbuild/core/rosbuild/bin/download_checkmd5.py
+++ b/core/rosbuild/core/rosbuild/bin/download_checkmd5.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Software License Agreement (BSD License)
#
diff --git a/core/rosbuild/tests/count_cores.py b/core/rosbuild/tests/count_cores.py
index ed9bc92..1bc472f 100755
--- a/core/rosbuild/tests/count_cores.py
+++ b/core/rosbuild/tests/count_cores.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import os
print(os.sysconf(os.sysconf_names['SC_NPROCESSORS_ONLN']))
diff --git a/core/roslib/scripts/gendeps b/core/roslib/scripts/gendeps
index 24e7fdd..38ec57d 100755
--- a/core/roslib/scripts/gendeps
+++ b/core/roslib/scripts/gendeps
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Software License Agreement (BSD License)
#
# Copyright (c) 2008, Willow Garage, Inc.
|