diff flagReader.py @ 10:47af95ad83c7

working the refactor still
author catherine@localhost
date Thu, 15 May 2008 12:21:38 -0400
parents f807c5cfa0de
children
line wrap: on
line diff
--- a/flagReader.py	Thu May 15 08:29:25 2008 -0400
+++ b/flagReader.py	Thu May 15 12:21:38 2008 -0400
@@ -7,7 +7,8 @@
 print flagReader.FlagSet.parse.__doc__ for usage examples.
 """
 
-import re, optparse
+import re, optparse, warnings
+warnings.warn("""flagReader has been deprecated.  Use optparse instead.""", DeprecationWarning)
 
 class Flag(object):
     def __init__(self, name, abbrev=None, nargs=0):