Changeset 2022

Show
Ignore:
Timestamp:
02/01/12 09:24:32 (9 years ago)
Author:
adi
Message:

ffado-diag: [cosmetics] remove code duplication

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/support/tools/ffado_diag_helpers.py

    r1934 r2022  
    3434# kernel 
    3535def get_kernel_version(): 
    36     (exitstatus, outtext) = commands.getstatusoutput('uname -r') 
    37     log.debug("uname -r outputs: %s" % outtext) 
    38     return outtext 
     36    return run_command('uname -r') 
    3937 
    4038def get_kernel_rt_patched():