Chris McDonough
2012-02-14 5ad401ad0b7692e55c21662416642b8ac0fde449
refs
author Chris McDonough <chrism@plope.com>
Tuesday, February 14, 2012 11:23 +0100
committer Chris McDonough <chrism@plope.com>
Tuesday, February 14, 2012 11:23 +0100
commit5ad401ad0b7692e55c21662416642b8ac0fde449
tree fe678c1d0b3bfa60bdde91c097b3fc016a7cea24 tree | zip | gz
parent e45c8075bda2012fef878774812a683750406fff view | diff
- Better error message when a .pyc-only module is ``config.include`` -ed.
This is not permitted due to error reporting requirements, and a better
error message is shown when it is attempted. Previously it would fail with
something like "AttributeError: 'NoneType' object has no attribute
'rfind'".

Fixed #420.
3 files modified
37 ■■■■■ changed files
CHANGES.txt 6 ●●●●● diff | view | raw | blame | history
pyramid/config/__init__.py 11 ●●●● diff | view | raw | blame | history
pyramid/tests/test_config/test_init.py 20 ●●●●● diff | view | raw | blame | history