Fix a typo in the restorecon method of the libselinux-rhat patch
This commit is contained in:
parent
41931f8d57
commit
896e46d7d4
@ -121,7 +121,7 @@ diff --exclude-from=exclude -N -u -r nsalibselinux/src/selinux.py libselinux-2.0
|
|||||||
+ if recursive:
|
+ if recursive:
|
||||||
+ os.path.walk(path, lambda arg, dirname, fnames:
|
+ os.path.walk(path, lambda arg, dirname, fnames:
|
||||||
+ map(restorecon, [os.path.join(dirname, fname)
|
+ map(restorecon, [os.path.join(dirname, fname)
|
||||||
+ s for fname in fnames]), None)
|
+ for fname in fnames]), None)
|
||||||
+
|
+
|
||||||
+def copytree(src, dest):
|
+def copytree(src, dest):
|
||||||
+ """ An SELinux-friendly shutil.copytree method """
|
+ """ An SELinux-friendly shutil.copytree method """
|
||||||
|
Loading…
Reference in New Issue
Block a user