diff options
Diffstat (limited to 'Lib/distutils/command/check.py')
-rw-r--r-- | Lib/distutils/command/check.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/command/check.py b/Lib/distutils/command/check.py index c72914952e..d164f3f527 100644 --- a/Lib/distutils/command/check.py +++ b/Lib/distutils/command/check.py @@ -65,7 +65,7 @@ class check(Command): if self.metadata: self.check_metadata() if self.restructuredtext: - if docutils: + if HAS_DOCUTILS: self.check_restructuredtext() elif self.strict: raise DistutilsSetupError('The docutils package is needed.') |