[Python-checkins] CVS: python/dist/src/Mac/Demo/applescript/Disk_Copy Special_Events.py,1.1,1.2

Jack Jansen jackjansen@users.sourceforge.net
Thu, 17 May 2001 05:45:15 -0700


Update of /cvsroot/python/python/dist/src/Mac/Demo/applescript/Disk_Copy
In directory usw-pr-cvs1:/tmp/cvs-serv28814/Python/Mac/Demo/applescript/Disk_Copy

Modified Files:
	Special_Events.py 
Log Message:
Fixed macroman<->latin1 conversion. Some chars don't
exist in latin1, but at least the roundtrip results in the
same macroman characters.

Index: Special_Events.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Demo/applescript/Disk_Copy/Special_Events.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** Special_Events.py	2000/08/20 21:57:30	1.1
--- Special_Events.py	2001/05/17 12:45:13	1.2
***************
*** 25,29 ****
  		Keyword argument access_mode: the access mode for mounted volume (default is "any", i.e. best possible)
  		Keyword argument checksum_verification: Verify the checksum before mounting?
! 		Keyword argument signature_verification: Verify the DigiSign signature before mounting?
  		Keyword argument RAM_caching: Cache the disk image in RAM? (if omitted, don't cache)
  		Keyword argument _attributes: AppleEvent attribute dictionary
--- 25,29 ----
  		Keyword argument access_mode: the access mode for mounted volume (default is "any", i.e. best possible)
  		Keyword argument checksum_verification: Verify the checksum before mounting?
! 		Keyword argument signature_verification: Verify the DigiSign signature before mounting?
  		Keyword argument RAM_caching: Cache the disk image in RAM? (if omitted, don't cache)
  		Keyword argument _attributes: AppleEvent attribute dictionary
***************
*** 58,62 ****
  		Required argument: a reference to the DiskScript to execute
  		Keyword argument checksum_verification: Should checksums be verified when mounting images referenced in the DiskScript?
! 		Keyword argument signature_verification: Should the DigiSign signature of the DiskScript and the images it references be verified?
  		Keyword argument _attributes: AppleEvent attribute dictionary
  		"""
--- 58,62 ----
  		Required argument: a reference to the DiskScript to execute
  		Keyword argument checksum_verification: Should checksums be verified when mounting images referenced in the DiskScript?
! 		Keyword argument signature_verification: Should the DigiSign signature of the DiskScript and the images it references be verified?
  		Keyword argument _attributes: AppleEvent attribute dictionary
  		"""
***************
*** 159,166 ****
  
  	def verify_signature(self, _object, _attributes={}, **_arguments):
! 		"""verify signature: Verify the DigiSign signature for a Disk Copy document
  		Required argument: the disk image to be verified
  		Keyword argument _attributes: AppleEvent attribute dictionary
! 		Returns: Is the DigiSign signature valid?
  		"""
  		_code = 'ddsk'
--- 159,166 ----
  
  	def verify_signature(self, _object, _attributes={}, **_arguments):
! 		"""verify signature: Verify the DigiSign signature for a Disk Copy document
  		Required argument: the disk image to be verified
  		Keyword argument _attributes: AppleEvent attribute dictionary
! 		Returns: Is the DigiSign signature valid?
  		"""
  		_code = 'ddsk'
***************
*** 184,188 ****
  
  	def sign_image(self, _object, _attributes={}, **_arguments):
! 		"""sign image: Add a DigiSign signature to a Disk Copy document
  		Required argument: the disk image to be signed
  		Keyword argument using_signer: a reference to signer file to use
--- 184,188 ----
  
  	def sign_image(self, _object, _attributes={}, **_arguments):
! 		"""sign image: Add a DigiSign signature to a Disk Copy document
  		Required argument: the disk image to be signed
  		Keyword argument using_signer: a reference to signer file to use
***************
*** 214,218 ****
  		"""create a floppy from: create a floppy disk from a Disk Copy document
  		Required argument: the disk image to make a floppy from
! 		Keyword argument signature_verification: Should the DigiSign signature be verified before creating a floppy disk?
  		Keyword argument erase_confirmation: Should the user be asked to confirm the erasure of the previous contents of floppy disks?
  		Keyword argument make_multiple_floppies: Should the user be prompted to create multiple floppy disks?
--- 214,218 ----
  		"""create a floppy from: create a floppy disk from a Disk Copy document
  		Required argument: the disk image to make a floppy from
! 		Keyword argument signature_verification: Should the DigiSign signature be verified before creating a floppy disk?
  		Keyword argument erase_confirmation: Should the user be asked to confirm the erasure of the previous contents of floppy disks?
  		Keyword argument make_multiple_floppies: Should the user be prompted to create multiple floppy disks?
***************
*** 242,246 ****
  
  	def check_image(self, _object, _attributes={}, **_arguments):
! 		"""check image: Check the disk images internal data structures for any inconsistencies.  Works on NDIF, Disk Copy 4.2, DART, or DiskSet images.
  		Required argument: the disk image to be verified
  		Keyword argument details: Should the disk image details be displayed?
--- 242,246 ----
  
  	def check_image(self, _object, _attributes={}, **_arguments):
! 		"""check image: Check the disk images internal data structures for any inconsistencies.  Works on NDIF, Disk Copy 4.2, DART, or DiskSet images.
  		Required argument: the disk image to be verified
  		Keyword argument details: Should the disk image details be displayed?
***************
*** 314,318 ****
  		Keyword argument version_string: sets the 'vers' 1 resource of the self-mounting image
  		Keyword argument checksum_verification: Should the checksum of the source images be verified before creating the SMI?
! 		Keyword argument signature_verification: Should the DigiSign signature of the source images be verified before creating the SMI?
  		Keyword argument image_signing: Should the SMI be given a digital signature when it is created?
  		Keyword argument _attributes: AppleEvent attribute dictionary
--- 314,318 ----
  		Keyword argument version_string: sets the 'vers' 1 resource of the self-mounting image
  		Keyword argument checksum_verification: Should the checksum of the source images be verified before creating the SMI?
! 		Keyword argument signature_verification: Should the DigiSign signature of the source images be verified before creating the SMI?
  		Keyword argument image_signing: Should the SMI be given a digital signature when it is created?
  		Keyword argument _attributes: AppleEvent attribute dictionary