summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
Diffstat (limited to 'Mac')
-rw-r--r--Mac/scripts/gensuitemodule.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mac/scripts/gensuitemodule.py b/Mac/scripts/gensuitemodule.py
index 689aeaa..b68def7 100644
--- a/Mac/scripts/gensuitemodule.py
+++ b/Mac/scripts/gensuitemodule.py
@@ -670,6 +670,8 @@ class ObjectCompiler:
if self.namemappers[0].hascode('property', code):
# plural forms and such
othername, dummy, dummy = self.namemappers[0].findcodename('property', code)
+ if pname == othername:
+ return
if self.fp:
self.fp.write("\n%s = %s\n"%(pname, othername))
else: