]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-38144: Re-add accidentally removed audition for glob. (GH-22805)
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 20 Oct 2020 16:45:38 +0000 (19:45 +0300)
committerGitHub <noreply@github.com>
Tue, 20 Oct 2020 16:45:38 +0000 (19:45 +0300)
Lib/glob.py

index 3c449a90dffef7de1c60792e7a23989601121232..a491363f3f9395e412d4b3b72877b9cc4518e222 100644 (file)
@@ -33,6 +33,7 @@ def iglob(pathname, *, root_dir=None, dir_fd=None, recursive=False):
     If recursive is true, the pattern '**' will match any files and
     zero or more directories and subdirectories.
     """
+    sys.audit("glob.glob", pathname, recursive)
     if root_dir is not None:
         root_dir = os.fspath(root_dir)
     else: