Message73297
It may be because I'm calling delete incorrectly (I don't think so - see
below) but I'm getting an error
File "C:\CCPN\ccpn\python\memops\gui\Menu.py", line 127, in
deleteMenuItems
self.delete(0, Tkinter.END)
File "C:\Python-2.6_svn\lib\lib-tk\Tkinter.py", line 2670, in delete
if c in self._tclCommands:
TypeError: argument of type 'NoneType' is not iterable
Which can easily be fixed with
- if c in self._tclCommands:
+ if c and c in self._tclCommands:
line 2670 Tkinter.py
Should I create a patch or have I missed something? Thanks. |
|
Date |
User |
Action |
Args |
2008-09-16 12:25:52 | indiedan | set | recipients:
+ indiedan, loewis, svenil, ocean-city, benjamin.peterson, gpolo, schuppenies, skomoroh |
2008-09-16 12:25:52 | indiedan | set | messageid: <1221567952.55.0.837093180008.issue3774@psf.upfronthosting.co.za> |
2008-09-16 12:24:52 | indiedan | link | issue3774 messages |
2008-09-16 12:24:51 | indiedan | create | |
|