소스 검색

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
     """