[Python-checkins] python/dist/src/Lib ConfigParser.py,1.38.10.1,1.38.10.2

fdrake@users.sourceforge.net fdrake@users.sourceforge.net
2002年9月26日 12:23:33 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv19753/Lib
Modified Files:
 Tag: release22-maint
	ConfigParser.py 
Log Message:
has_option(): Use the option name transform consistently.
Closes SF bug #561822.
Index: ConfigParser.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/ConfigParser.py,v
retrieving revision 1.38.10.1
retrieving revision 1.38.10.2
diff -C2 -d -r1.38.10.1 -r1.38.10.2
*** ConfigParser.py	15 Mar 2002 10:24:14 -0000	1.38.10.1
--- ConfigParser.py	26 Sep 2002 19:23:31 -0000	1.38.10.2
***************
*** 321,324 ****
--- 321,325 ----
 """Check for the existence of a given option in a given section."""
 if not section or section == "DEFAULT":
+ option = self.optionxform(option)
 return self.__defaults.has_key(option)
 elif not self.has_section(section):

AltStyle によって変換されたページ (->オリジナル) /