From: Jack Jansen Date: Tue, 16 Apr 1996 14:36:46 +0000 (+0000) Subject: Fixed code generated for an argument of type **** X-Git-Tag: v1.4b1~214 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a2408e9d6a20995d750c955621a7506b71da5434;p=python Fixed code generated for an argument of type **** --- diff --git a/Mac/scripts/gensuitemodule.py b/Mac/scripts/gensuitemodule.py index 2718e33794..97a08e60ae 100644 --- a/Mac/scripts/gensuitemodule.py +++ b/Mac/scripts/gensuitemodule.py @@ -331,7 +331,8 @@ def compileevent(fp, event): if is_enum(a[2]): kname = a[1] ename = a[2][0] - fp.write("\t\taetools.enumsubst(_arguments, %s, _Enum_%s)\n" % + if ename <> '****': + fp.write("\t\taetools.enumsubst(_arguments, %s, _Enum_%s)\n" % (`kname`, ename)) fp.write("\n") #