Commit 305bb1ce authored by Daniel Himmelstein's avatar Daniel Himmelstein Committed by Benoit Pierre

fix assert_string_list docstring

value=None raises TypeError

DistutilsSetupError: 2 must be a list of strings (got None)
parent 67344c95
......@@ -213,7 +213,7 @@ def check_importable(dist, attr, value):
def assert_string_list(dist, attr, value):
"""Verify that value is a string list or None"""
"""Verify that value is a string list"""
try:
assert ''.join(value) != value
except (TypeError, ValueError, AttributeError, AssertionError):
......
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