[Python-checkins] python/dist/src/Mac/Modules/launch launchscan.py, 1.3, 1.4 setup.py, 1.1, 1.2

jackjansen at users.sourceforge.net jackjansen at users.sourceforge.net
Tue Feb 24 16:49:12 EST 2004


Update of /cvsroot/python/python/dist/src/Mac/Modules/launch
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31798
Modified Files:
	launchscan.py setup.py 
Log Message:
kLsUnknownType and kLSUnknownCreator were ints in stead of OSTypes.
Reported by Bob Ippolito.
Index: launchscan.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/launch/launchscan.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** launchscan.py	3 Dec 2003 23:20:12 -0000	1.3
--- launchscan.py	24 Feb 2004 21:49:10 -0000	1.4
***************
*** 43,46 ****
--- 43,48 ----
 		self.defsfile.write("kLSRequestAllInfo = -1\n")
 		self.defsfile.write("kLSRolesAll = -1\n")
+ 		self.defsfile.write("kLSUnknownType = FOUR_CHAR_CODE('\0円\0円\0円\0円')\n")
+ 		self.defsfile.write("kLSUnknownCreator = FOUR_CHAR_CODE('\0円\0円\0円\0円')\n")
 		self.defsfile.write("kLSInvalidExtensionIndex = -1\n")
 
***************
*** 52,55 ****
--- 54,59 ----
 			"kLSRolesAll",
 			"kLSInvalidExtensionIndex",
+ 			"kLSUnknownType",
+ 			"kLSUnknownCreator"
 			]
 
Index: setup.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/launch/setup.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** setup.py	9 Dec 2003 14:51:21 -0000	1.1
--- setup.py	24 Feb 2004 21:49:10 -0000	1.2
***************
*** 4,8 ****
 from distutils.core import Extension, setup
 
! setup(name="LaunchServices", version="0.1",
 	ext_modules=[
 		Extension('_Launch', ['_Launchmodule.c'],
--- 4,8 ----
 from distutils.core import Extension, setup
 
! setup(name="LaunchServices", version="0.2",
 	ext_modules=[
 		Extension('_Launch', ['_Launchmodule.c'],


More information about the Python-checkins mailing list

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