aboutsummaryrefslogtreecommitdiffstats
path: root/src/bfind.py
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-10-09 03:42:20 +0200
committerMattias Andrée <maandree@operamail.com>2013-10-09 03:42:20 +0200
commit867bb45e6df984a116397e0f1a94093633822e0d (patch)
treeb81a5ee10aa45a0d38c46ebf8635e9d6249457d9 /src/bfind.py
parentm readme (diff)
downloadbfind-867bb45e6df984a116397e0f1a94093633822e0d.tar.gz
bfind-867bb45e6df984a116397e0f1a94093633822e0d.tar.bz2
bfind-867bb45e6df984a116397e0f1a94093633822e0d.tar.xz
add bug todo
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rwxr-xr-xsrc/bfind.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bfind.py b/src/bfind.py
index 342e002..abf7284 100755
--- a/src/bfind.py
+++ b/src/bfind.py
@@ -65,7 +65,7 @@ while len(queue) > 0:
continue
visited_name.add(os.path.realpath(path))
if not xdev:
- if os.stat(path).st_dev != start_dev: # TODO make sure there is not symlinking problems
+ if os.stat(path).st_dev != start_dev: # TODO make sure there is not symlinking problems # TODO fails on broken links
continue
sys.stdout.buffer.write(path.encode('utf-8'))
sys.stdout.buffer.write(ending)