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
|
From: Jochen Sprickerhof <jspricke@debian.org>
Date: Sat, 25 Apr 2020 11:04:14 +0200
Subject: Use Python 3 for make_docs.py
Forwarded: not-needed
--- a/scripts/make_docs.py
+++ b/scripts/make_docs.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
# encoding: utf-8
#
# Ceres Solver - A fast non-linear least squares minimizer
@@ -33,7 +33,6 @@
#
# Note: You will need Sphinx and Pygments installed for this to work.
-from __future__ import print_function
import glob
import io
import os
--- a/examples/slam/pose_graph_3d/plot_results.py
+++ b/examples/slam/pose_graph_3d/plot_results.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
#
# Plots the results from the 3D pose graph optimization. It will draw a line
# between consecutive vertices. The commandline expects two optional filenames:
--- a/examples/slam/pose_graph_2d/plot_results.py
+++ b/examples/slam/pose_graph_2d/plot_results.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
#
# Plots the results from the 2D pose graph optimization. It will draw a line
# between consecutive vertices. The commandline expects two optional filenames:
|