Author: asterix Date: 2008-01-30 22:31:19 +0100 (Wed, 30 Jan 2008) New Revision: 9283
Modified: trunk/src/common/helpers.py Log: [TuX] better uname call
Modified: trunk/src/common/helpers.py =================================================================== --- trunk/src/common/helpers.py 2008-01-30 21:29:55 UTC (rev 9282) +++ trunk/src/common/helpers.py 2008-01-30 21:31:19 UTC (rev 9283) @@ -793,7 +793,7 @@ return text
# our last chance, ask uname and strip it - uname_output = get_output_of_command('uname -a | cut -d" " -f1,3') + uname_output = get_output_of_command('uname -sr') if uname_output is not None: return uname_output[0] # only first line return 'N/A'