[Patches] Bug in CVS version of Tkinter.py - missing ":" on line 1813

Mark Favas m.favas@per.dem.csiro.au
Sun, 27 Feb 2000 21:00:13 +0800


The CVS version of Tkinter.py has a missing ":" at the end of an if...

patch is:

*** Tkinter.py.orig     Sun Feb 27 20:49:37 2000
--- Tkinter.py  Sun Feb 27 20:49:55 2000
***************
*** 1810,1816 ****
                self.menuname = menu._w
                # 'command' is the only supported keyword
                callback = kwargs.get('command')
!               if kwargs.has_key('command')
                        del kwargs['command']
                if kwargs:
                        raise TclError, 'unknown option
-'+kwargs.keys()[0]
--- 1810,1816 ----
                self.menuname = menu._w
                # 'command' is the only supported keyword
                callback = kwargs.get('command')
!               if kwargs.has_key('command'):
                        del kwargs['command']
                if kwargs:
                        raise TclError, 'unknown option
-'+kwargs.keys()[0]

I confirm that, to the best of my knowledge and belief, this
contribution is free of any claims of third parties under
copyright, patent or other rights or interests ("claims").  To
the extent that I have any such claims, I hereby grant to CNRI a
nonexclusive, irrevocable, royalty-free, worldwide license to
reproduce, distribute, perform and/or display publicly, prepare
derivative versions, and otherwise use this contribution as part
of the Python software and its related documentation, or any
derivative versions thereof, at no cost to CNRI or its licensed
users, and to authorize others to do so.

I acknowledge that CNRI may, at its sole discretion, decide
whether or not to incorporate this contribution in the Python
software and its related documentation.  I further grant CNRI
permission to use my name and other identifying information
provided to CNRI by me for use in connection with the Python
software and its related documentation.

-- 
Email  - m.favas@per.dem.csiro.au        Mark C Favas
Phone  - +61 8 9333 6268, 0418 926 074   CSIRO Exploration & Mining
Fax    - +61 8 9383 9891                 Private Bag Post Office Wembley
GPS    - 31.97 S, 115.81 E               Western Australia 6014