From: Rob Browning Date: Sat, 9 Nov 2013 18:08:21 +0000 (-0600) Subject: xstat.py: include "s" for socket in mode strings, i.e. "srw-r-----". X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=a880c58d42a8eee9396a0cfa8183fc2877c14c93;p=packages%2Fb%2Fbup.git xstat.py: include "s" for socket in mode strings, i.e. "srw-r-----". Signed-off-by: Rob Browning --- diff --git a/lib/bup/xstat.py b/lib/bup/xstat.py index be6f062..e981f9c 100644 --- a/lib/bup/xstat.py +++ b/lib/bup/xstat.py @@ -119,6 +119,8 @@ def mode_str(mode): result += 'p' elif pystat.S_ISLNK(mode): result += 'l' + elif pystat.S_ISSOCK(mode): + result += 's' else: result += '?'