Commit 951f6b37 authored by owsla's avatar owsla

Throttle verbosity of listattr() warnings


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@964 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent a1f0a7b8
New in v1.2.3 (????/??/??)
---------------------------
Throttle verbosity of listattr() warning messages from 3 to 4. (Andrew Ferguson)
Escape trailing spaces and periods on systems which require it, such as
Windows and modern Linux with FAT32. (Andrew Ferguson)
......
......@@ -62,7 +62,7 @@ class ExtendedAttributes:
if exc[0] in (errno.EOPNOTSUPP, errno.EPERM, errno.ETXTBSY):
return # if not supported, consider empty
if exc[0] in (errno.EACCES, errno.ENOENT, errno.ELOOP):
log.Log("Warning: listattr(%s): %s" % (repr(rp.path), exc), 3)
log.Log("Warning: listattr(%s): %s" % (repr(rp.path), exc), 4)
return
raise
for attr in attr_list:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment