Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(616)

Unified Diff: command_wrapper/bin/command_wrapper.py

Issue 3033042: Switching from os.uname to platform.uname, since os.uname isn't available on... (Closed) Base URL: svn://chrome-svn/chrome/trunk/tools/
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | command_wrapper/command_wrapper_web.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()
« no previous file with comments | « no previous file | command_wrapper/command_wrapper_web.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698