commit | 8df921b46b0c6467ddd7e09279db981a076b5f95 | [log] [tgz] |
---|---|---|
author | Tarek Ziadé <ziade.tarek@gmail.com> | Wed Jun 03 11:20:44 2009 +0000 |
committer | Tarek Ziadé <ziade.tarek@gmail.com> | Wed Jun 03 11:20:44 2009 +0000 |
tree | 34e588ff6c26231fe879226cd0159c337c8a6ab6 | |
parent | fe327b97d2d797158e71d24a6918c8f57f3d65fd [diff] |
assertion message was dropped
diff --git a/Lib/distutils/extension.py b/Lib/distutils/extension.py index 98b841f..53ca8fd 100644 --- a/Lib/distutils/extension.py +++ b/Lib/distutils/extension.py
@@ -103,7 +103,7 @@ optional=None, **kw # To catch unknown keywords ): - assert isinstance(name, str) + assert isinstance(name, str), "'name' must be a string" assert (isinstance(sources, list) and all(isinstance(v, str) for v in sources)), \ "'sources' must be a list of strings"