[Python-checkins] python/dist/src/Lib mimetypes.py,1.21,1.21.6.1
fdrake at users.sourceforge.net
fdrake at users.sourceforge.net
Thu Oct 30 10:13:44 EST 2003
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1:/tmp/cvs-serv7056
Modified Files:
Tag: release22-maint
mimetypes.py
Log Message:
use True/False for boolean values
Index: mimetypes.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/mimetypes.py,v
retrieving revision 1.21
retrieving revision 1.21.6.1
diff -C2 -d -r1.21 -r1.21.6.1
*** mimetypes.py 5 Dec 2001 15:58:29 -0000 1.21
--- mimetypes.py 30 Oct 2003 15:13:41 -0000 1.21.6.1
***************
*** 36,40 ****
]
! inited = 0
--- 36,40 ----
]
! inited = False
***************
*** 209,213 ****
global suffix_map, types_map, encodings_map, common_types
global inited
! inited = 1
db = MimeTypes()
if files is None:
--- 209,213 ----
global suffix_map, types_map, encodings_map, common_types
global inited
! inited = True
db = MimeTypes()
if files is None:
More information about the Python-checkins
mailing list