]> granicus.if.org Git - python/commitdiff
Add missing name in shutil.__all__
authorÉric Araujo <merwok@netwok.org>
Thu, 1 Sep 2011 06:31:51 +0000 (08:31 +0200)
committerÉric Araujo <merwok@netwok.org>
Thu, 1 Sep 2011 06:31:51 +0000 (08:31 +0200)
Lib/shutil.py

index 4b752627fa5d018c6fd8731a3e0f30233c9e6284..0c096cba554e0fb5f7c669037b6073a0df75af8d 100644 (file)
@@ -35,7 +35,7 @@ __all__ = ["copyfileobj", "copyfile", "copymode", "copystat", "copy", "copy2",
            "register_archive_format", "unregister_archive_format",
            "get_unpack_formats", "register_unpack_format",
            "unregister_unpack_format", "unpack_archive",
-           "ignore_patterns"]
+           "ignore_patterns", "chown"]
            # disk_usage is added later, if available on the platform
 
 class Error(EnvironmentError):
@@ -791,6 +791,7 @@ elif os.name == 'nt':
         used = total - free
         return _ntuple_diskusage(total, used, free)
 
+
 def chown(path, user=None, group=None):
     """Change owner user and group of the given path.