Fix a typo in the restorecon method of the libselinux-rhat patch

This commit is contained in:
Luke Macken 2008-11-17 20:23:52 +00:00
parent 41931f8d57
commit 896e46d7d4

View File

@ -121,7 +121,7 @@ diff --exclude-from=exclude -N -u -r nsalibselinux/src/selinux.py libselinux-2.0
+ if recursive:
+ os.path.walk(path, lambda arg, dirname, fnames:
+ map(restorecon, [os.path.join(dirname, fname)
+ s for fname in fnames]), None)
+ for fname in fnames]), None)
+
+def copytree(src, dest):
+ """ An SELinux-friendly shutil.copytree method """