Commit c49d0a04 authored by Jason R. Coombs's avatar Jason R. Coombs

Extract a variable for nicer indentation.

parent 7756f651
......@@ -37,9 +37,8 @@ def get_unpatched_class(cls):
while cls.__module__.startswith('setuptools'):
cls, = cls.__bases__
if not cls.__module__.startswith('distutils'):
raise AssertionError(
"distutils has already been patched by %r" % cls
)
msg = "distutils has already been patched by %r" % cls
raise AssertionError(msg)
return cls
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment