Index: command_wrapper/bin/command_wrapper.py |
=================================================================== |
--- command_wrapper/bin/command_wrapper.py (revision 54172) |
+++ command_wrapper/bin/command_wrapper.py (working copy) |
@@ -14,6 +14,7 @@ |
import optparse |
import os |
+import platform |
import subprocess |
import sys |
import time |
@@ -35,7 +36,7 @@ |
stderr: text of stderr |
runtime: command runtime in seconds |
""" |
- uname = os.uname() |
+ uname = platform.uname() |
params = urllib.urlencode({ |
'attempt': str(attempt), |
'cwd': os.getcwd(), |
@@ -51,6 +52,7 @@ |
'uname_release': uname[2], |
'uname_version': uname[3], |
'uname_machine': uname[4], |
+ 'uname_processor': uname[5], |
}) |
f = urllib.urlopen(options.logurl, params) |
f.read() |