[orca] Remove missed, hard-coded process name
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Remove missed, hard-coded process name
- Date: Mon, 3 Dec 2018 21:10:39 +0000 (UTC)
commit d79e4a425baf9db1b908d57a21f74cd17da86471
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Mon Dec 3 16:09:56 2018 -0500
Remove missed, hard-coded process name
src/orca/orca_bin.py.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/orca_bin.py.in b/src/orca/orca_bin.py.in
index f68517b64..18faef02b 100644
--- a/src/orca/orca_bin.py.in
+++ b/src/orca/orca_bin.py.in
@@ -151,9 +151,9 @@ class Parser(argparse.ArgumentParser):
return opts, invalid
def setProcessName(name):
- """Attempts to set the process name to 'orca'."""
+ """Attempts to set the process name to the specified name."""
- sys.argv[0] = 'orca'
+ sys.argv[0] = name
# Disabling the import error of setproctitle.
# pylint: disable-msg=F0401
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]