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

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



(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


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