File: python3_example

package info (click to toggle)
rrdtool 1.7.2-4.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,060 kB
  • sloc: ansic: 38,129; sh: 6,352; perl: 1,235; cs: 652; makefile: 547; python: 139; ruby: 61; awk: 30
file content (15 lines) | stat: -rw-r--r-- 402 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Switch example script to use python3
Author: Jean-Michel Vourgère <nirgal@debian.org>
Applied-Upstream: commit:0df7b5a39a5f8747a5ab11a8c172c4644e6edd22
Last-Update: 2020-12-30

--- rrdtool-1.7.2.orig/examples/stripes.py
+++ rrdtool-1.7.2/examples/stripes.py
@@ -1,6 +1,4 @@
-#! /usr/bin/python
-
-from __future__ import print_function
+#! /usr/bin/python3
 
 import locale
 import random