File: py3_for_examples.patch

package info (click to toggle)
python-netsnmpagent 0.6.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 340 kB
  • sloc: python: 1,200; sh: 172; makefile: 6
file content (25 lines) | stat: -rw-r--r-- 753 bytes parent folder | download | duplicates (2)
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
Description: Use python3 for the examples
 .
 python-netsnmpagent (0.6.0-1) unstable; urgency=low
 .
   * Initial release. (Closes: #932925)
Author: Salvo 'LtWorf' Tomaselli <ltworf@debian.org>
Forwarded: https://github.com/pief/python-netsnmpagent/pull/51 
Last-Update: 2023-09-25

--- python-netsnmpagent-0.6.0.orig/examples/simple_agent.py
+++ python-netsnmpagent-0.6.0/examples/simple_agent.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # python-netsnmpagent simple example agent
 #
--- python-netsnmpagent-0.6.0.orig/examples/threading_agent.py
+++ python-netsnmpagent-0.6.0/examples/threading_agent.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # python-netsnmpagent example agent with threading
 #