File: fix_example_unusual_interpreter.patch

package info (click to toggle)
gxml 0.20.4%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 5,364 kB
  • sloc: xml: 131,277; ansic: 786; javascript: 328; python: 88; makefile: 35; sh: 11
file content (17 lines) | stat: -rw-r--r-- 469 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Fix examples/python/example.py unusual interpreter
In the upstream bad interpreter is used for the example

Author: Seyed Mohamad Amin Modaresi <modaresisofthard@proton.me>

Forwarded: yes

diff --git a/examples/python/example.py b/examples/python/example.py
index 79afeb2..16a81a0 100644
--- a/examples/python/example.py
+++ b/examples/python/example.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 
 from gi.repository import GXml;
 import gi