Have cfmfile raise a DeprecationWarning as per PEP 4.

This commit is contained in:
Brett Cannon 2007-05-31 20:01:11 +00:00
parent 791d56f1f7
commit f0cb1d7ad6
2 changed files with 5 additions and 0 deletions

View File

@ -11,6 +11,9 @@ from Carbon import Res
import os
import sys
import warnings
warnings.warn("the cfmfile module is deprecated", DeprecationWarning, 2)
DEBUG = 0
error = "cfm.error"

View File

@ -909,6 +909,8 @@ Windows
Mac
---
- cfmfile now raises a DeprecationWarning.
- buildtools now raises a DeprecationWarning.
- Removed the macfs module. It had been deprecated since Python 2.5. This