summaryrefslogtreecommitdiffstats
path: root/Mac/Demo/applescript/Disk_Copy/Utility_Events.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Demo/applescript/Disk_Copy/Utility_Events.py')
-rw-r--r--Mac/Demo/applescript/Disk_Copy/Utility_Events.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/Mac/Demo/applescript/Disk_Copy/Utility_Events.py b/Mac/Demo/applescript/Disk_Copy/Utility_Events.py
index 172b408..3830753 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'
aetools.enumsubst(_arguments, 'SELp', _Enum_TEXT)
@@ -52,7 +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)
@@ -78,7 +78,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 +104,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 +130,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 +156,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)