ソースを参照

Remove dead code

Jonas Borgström 10 年 前
コミット
7b9d129bcd
1 ファイル変更0 行追加11 行削除
  1. 0 11
      attic/helpers.py

+ 0 - 11
attic/helpers.py

@@ -277,17 +277,6 @@ def is_cachedir(path):
     return False
 
 
-def walk_path(path, skip_inodes=None):
-    st = os.lstat(path)
-    if skip_inodes and (st.st_ino, st.st_dev) in skip_inodes:
-        return
-    yield path, st
-    if stat.S_ISDIR(st.st_mode):
-        for f in os.listdir(path):
-            for x in walk_path(os.path.join(path, f), skip_inodes):
-                yield x
-
-
 def format_time(t):
     """Format datetime suitable for fixed length list output
     """