Lines 63-69
class _XattrSystemCommands(_XattrGetAll):
Link Here
|
63 |
cmd = ['getfattr', '--absolute-names', '-n', name, item] |
63 |
cmd = ['getfattr', '--absolute-names', '-n', name, item] |
64 |
if nofollow: |
64 |
if nofollow: |
65 |
cmd += ['-h'] |
65 |
cmd += ['-h'] |
66 |
proc = cls._call(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) |
66 |
proc = cls._call(cmd, stdout=subprocess.PIPE) |
67 |
|
67 |
|
68 |
value = None |
68 |
value = None |
69 |
for _, value in cls._parse_output(proc.stdout): |
69 |
for _, value in cls._parse_output(proc.stdout): |
Lines 94-100
class _XattrSystemCommands(_XattrGetAll):
Link Here
|
94 |
if nofollow: |
94 |
if nofollow: |
95 |
cmd += ['-h'] |
95 |
cmd += ['-h'] |
96 |
cmd += ['-m', ('^%s[.]' % namespace) if namespace else '-'] |
96 |
cmd += ['-m', ('^%s[.]' % namespace) if namespace else '-'] |
97 |
proc = cls._call(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) |
97 |
proc = cls._call(cmd, stdout=subprocess.PIPE) |
98 |
|
98 |
|
99 |
ret = [] |
99 |
ret = [] |
100 |
if namespace: |
100 |
if namespace: |
101 |
- |
|
|