def _setLibPath(a, d, f):
  ''' A private method used only as a callback for os.path.walk() '''
  global _LibPath
  if _LibPath == None:
    if 'libarchive.so' in f:
      _LibPath = d
 A private method used only as a callback for os.path.walk() 
recipes/Python/578531_carpy_Ctypes_ARchiver_PYthlibarchive_ffi/recipe-578531.py