From 9d6d2c0c972b296eeb93413e08aa913f71fa11ba Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Tue, 22 Aug 2000 20:34:35 +0000 Subject: Only output the code to alias properties if the names aren't the same. --- Mac/scripts/gensuitemodule.py | 2 ++ 1 file changed, 2 insertions(+) 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: -- cgit v0.12