[PATCH 2/6] pass whole sys.argv in "cmdline: ..." info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(cherry-picked from c8ecb846586a7ad330e05f1a067add6068d2e34e)
---
 meh/dump.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/meh/dump.py b/meh/dump.py
index 66594d5..967c2c9 100644
--- a/meh/dump.py
+++ b/meh/dump.py
@@ -194,7 +194,8 @@ class ExceptionDump(object):
         ret = dict()
         ret["architecture"] = os.uname()[4]
         ret["cmdline"] = "{0} {1} {2}".format(sys.executable,
-                    " ".join(get_python_opts()), sys.argv[0])
+                    " ".join(get_python_opts()),
+                    " ".join(sys.argv))
         ret["component"] = component
         ret["executable"] = sys.argv[0]
         ret["kernel"] = os.uname()[2]
-- 
1.7.4.4

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux