Have cfmfile raise a DeprecationWarning as per PEP 4.
This commit is contained in:
parent
791d56f1f7
commit
f0cb1d7ad6
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue