]> arthur.barton.de Git - bup.git/blobdiff - lib/bup/drecurse.py
cmd/index: catch exception for paths that don't exist.
[bup.git] / lib / bup / drecurse.py
index 169aa31c64f549e77799381ed044d5672910e184..ac0115e9f1685c965fad86bf883e44a045a72383 100644 (file)
@@ -73,7 +73,7 @@ def recursive_dirlist(paths, xdev):
                     yield (path, pst)
                     continue
             except OSError, e:
-                add_error(e)
+                add_error('recursive_dirlist: %s' % e)
                 continue
             try:
                 pfile = OsFile(path)