s4cmd.py
def local_walk(self, basedir):
    '''Walk through local directories from root basedir'''
    result = []

    for root, dirs, files in os.walk(basedir):
      for f in files:
        result.append(os.path.join(root, f))
    return result
def local_walk(self, basedir):
    '''Walk through local directories from root basedir'''
    result = []

    for root, dirs, files in os.walk(basedir):
      for f in files:
        result.append(os.path.join(root, f))
    return result
def local_walk ( self , basedir ) : result = [ ] for root , dirs , files in os . walk ( basedir ) : for f in files : result . append ( os . path . join ( root , f ) ) return result
Walk through local directories from root basedir
Walk through local directories from root basedir