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
|
Description: fix shebangs
This patch corrects upstream's python shebangs.
Author: Sebastian Humenda <shumenda@gmx.de>
Last-Update: 2018-10-04
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
doc/development.txt | 2 +-
doc/user.txt | 2 +-
examples/loadmodule_test__-loadmodule__+__key_y.py | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
Index: orca-sops/doc/development.txt
===================================================================
--- orca-sops.orig/doc/development.txt
+++ orca-sops/doc/development.txt
@@ -60,7 +60,7 @@ echo "Hello World"
1.3.2 advanced-plugin (spec.loader.exec_module):
replace the ! with the word bang while loading first.
<example replace_chnames__-__loadmodule__+__exec.py >
-#!/bin/python
+#!/usr/bin/python
orca.chnames.chnames["!"] = "bang"
</example replace_chnames__-__loadmodule__+__exec.py >
Index: orca-sops/doc/user.txt
===================================================================
--- orca-sops.orig/doc/user.txt
+++ orca-sops/doc/user.txt
@@ -127,7 +127,7 @@ https://wiki.gnome.org/Projects/Orca/Fre
Configure Orca to speak/braille the word "bang" instead of the "!" while loading the plug-in.
Filename:''replace_chnames__-__loadmodule__+__exec.py''
<code python>
-#!/bin/python
+#!/usr/bin/python
import orca.orca
orca.chnames.chnames["!"] = "bang"
</code>
Index: orca-sops/examples/loadmodule_test__-loadmodule__+__key_y.py
===================================================================
--- orca-sops.orig/examples/loadmodule_test__-loadmodule__+__key_y.py
+++ orca-sops/examples/loadmodule_test__-loadmodule__+__key_y.py
@@ -1,4 +1,4 @@
-#!/bin/python
+#!/usr/bin/python
# -*- coding: utf-8 -*-
# an example for import an advanced plugin
# speak "hello world"
|