1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-23 08:16:54 +00:00

Remove dead code

This commit is contained in:
Jonas Borgström 2014-10-09 20:43:58 +02:00
parent 5a69f58823
commit 7b9d129bcd

View file

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