]> arthur.barton.de Git - bup.git/blobdiff - lib/bup/drecurse.py
Use debug1() when reporting paths skipped
[bup.git] / lib / bup / drecurse.py
index 2dbe50c7934420f5e11d7b525d63f3f1626749d0..e0855c83197a241d50e79988ae0f5497d0cf68ad 100644 (file)
@@ -53,15 +53,15 @@ def _recursive_dirlist(prepend, xdev, bup_dir=None, excluded_paths=None):
     for (name,pst) in _dirlist():
         if name.endswith('/'):
             if xdev != None and pst.st_dev != xdev:
-                log('Skipping %r: different filesystem.\n' % (prepend+name))
+                debug1('Skipping %r: different filesystem.\n' % (prepend+name))
                 continue
             if bup_dir != None:
                 if os.path.normpath(prepend+name) == bup_dir:
-                    log('Skipping BUP_DIR.\n')
+                    debug1('Skipping BUP_DIR.\n')
                     continue
             if excluded_paths:
                 if os.path.normpath(prepend+name) in excluded_paths:
-                    log('Skipping %r: excluded.\n' % (prepend+name))
+                    debug1('Skipping %r: excluded.\n' % (prepend+name))
                     continue
             try:
                 OsFile(name).fchdir()