parameters: (mounts)
return_statement: return additions + mounts
docstring: binfmg_misc gets mounted inside the chroot and prevents cleanup
      add this for all proc mounts at the top.
docstring_summary: binfmg_misc gets mounted inside the chroot and prevents cleanup
      add this for all proc mounts at the top.
docstring_tokens: binfmg_misc gets mounted inside the chroot and prevents cleanup add this for all proc mounts at the top .
function: def add_binfmg_misc_mounts(mounts):
      """
      binfmg_misc gets mounted inside the chroot and prevents cleanup
      add this for all proc mounts at the top.  
      """
  
      additions = [os.path.join(m, 'sys', 'fs', 'binfmt_misc') for m in mounts if m.endswith('proc')]
      print "adding", additions
      return additions + mounts
function_tokens: def add_binfmg_misc_mounts ( mounts ) : additions = [ os . path . join ( m , 'sys' , 'fs' , 'binfmt_misc' ) for m in mounts if m . endswith ( 'proc' ) ] print "adding" , additions return additions + mounts