]> arthur.barton.de Git - bup.git/blobdiff - lib/bup/drecurse.py
helpers: rename realpath to resolve_parent
[bup.git] / lib / bup / drecurse.py
index de8e5aa704888bb4c5d2e120d53f4af69d5d371f..90b7f26de4bf6316230c68ed49304a5d73e8c927 100644 (file)
@@ -40,7 +40,7 @@ def _dirlist():
         try:
             st = xstat.lstat(n)
         except OSError as e:
-            add_error(Exception('%s: %s' % (realpath(n), str(e))))
+            add_error(Exception('%s: %s' % (resolve_parent(n), str(e))))
             continue
         if (st.st_mode & _IFMT) == stat.S_IFDIR:
             n += '/'