diff options
Diffstat (limited to 'Mac/Demo/applescript/Disk_Copy/Utility_Events.py')
-rw-r--r-- | Mac/Demo/applescript/Disk_Copy/Utility_Events.py | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/Mac/Demo/applescript/Disk_Copy/Utility_Events.py b/Mac/Demo/applescript/Disk_Copy/Utility_Events.py index 03df938..9213345 100644 --- a/Mac/Demo/applescript/Disk_Copy/Utility_Events.py +++ b/Mac/Demo/applescript/Disk_Copy/Utility_Events.py @@ -26,7 +26,7 @@ class Utility_Events_Events: _subcode = 'SEL1' aetools.keysubst(_arguments, self._argmap_select_disk_image) - if _no_object != None: raise TypeError('No direct arg expected') + if _no_object is not None: raise TypeError('No direct arg expected')y aetools.enumsubst(_arguments, 'SELp', _Enum_TEXT) @@ -52,8 +52,7 @@ class Utility_Events_Events: _subcode = 'SEL2' aetools.keysubst(_arguments, self._argmap_select_DiskScript) - if _no_object != None: raise TypeError('No direct arg expected') - + if _no_object is not None: raise TypeError('No direct arg expected') aetools.enumsubst(_arguments, 'SELp', _Enum_TEXT) _reply, _arguments, _attributes = self.send(_code, _subcode, @@ -78,7 +77,7 @@ class Utility_Events_Events: _subcode = 'SEL3' aetools.keysubst(_arguments, self._argmap_select_disk_image_or_DiskScript) - if _no_object != None: raise TypeError('No direct arg expected') + if _no_object is not None: raise TypeError('No direct arg expected') aetools.enumsubst(_arguments, 'SELp', _Enum_TEXT) @@ -104,7 +103,7 @@ class Utility_Events_Events: _subcode = 'SEL4' aetools.keysubst(_arguments, self._argmap_select_floppy_disk_image) - if _no_object != None: raise TypeError('No direct arg expected') + if _no_object is not None: raise TypeError('No direct arg expected') aetools.enumsubst(_arguments, 'SELp', _Enum_TEXT) @@ -130,7 +129,7 @@ class Utility_Events_Events: _subcode = 'SEL5' aetools.keysubst(_arguments, self._argmap_select_disk) - if _no_object != None: raise TypeError('No direct arg expected') + if _no_object is not None: raise TypeError('No direct arg expected') aetools.enumsubst(_arguments, 'SELp', _Enum_TEXT) @@ -156,7 +155,7 @@ class Utility_Events_Events: _subcode = 'SEL6' aetools.keysubst(_arguments, self._argmap_select_folder) - if _no_object != None: raise TypeError('No direct arg expected') + if _no_object is not None: raise TypeError('No direct arg expected') aetools.enumsubst(_arguments, 'SELp', _Enum_TEXT) |