diff --git a/Lib/distutils/command/build_py.py b/Lib/distutils/command/build_py.py index 2d0ad1ce095..4e5255a67ce 100644 --- a/Lib/distutils/command/build_py.py +++ b/Lib/distutils/command/build_py.py @@ -146,7 +146,7 @@ class build_py (Command): raise DistutilsFileError, \ "package directory '%s' does not exist" % package_dir if not os.path.isdir (package_dir): - raise DistutilsFileErorr, \ + raise DistutilsFileError, \ ("supposed package directory '%s' exists, " + "but is not a directory") % package_dir