Henning Hraban Ramm wrote: > 2008/12/16 Paul McNett <[email protected]>: >>> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/dabo/dabo/ui/uiwx/dDialog.py:377: >>> Warning: The onOK() handler is deprecated. Use the runOK() method >>> instead >> This must be coming from your code. We changed onOK() to runOK(), and your >> code must >> still be using onOK(), which still works but is deprecated. Find and replace >> all >> instances with runOK() instead. > > Sorry, but there's no onOK anywhere in my code. But I found several in yours: > > dabo/lib/datanav/Form.py #410 > dabo/ui/dialogs/login.py #107 & #118 > dabo/ui/uiwx/__init__.py #781 > demo/samples/games/Minesweeper.py #1048
Oops. I thought that we'd gone through existing code and changed all those. But you learn something new every day. Thanks! I've made the changes but need to test them. Commit will come soon. > dabo/ui/uiwx/dDialog.py (7 matches, here's the deprecation warning issued) These are all ok, because they are internal. > In my case it comes from the login dialog. > > Is there old code left on my system? No, it was our fault. > Perhaps add subversion IDs to your code, that would help to find old code. > > # $Id$ > >> svn propset svn:keywords "Id" *.py I don't see the benefit of this, as it adds cruft when you can get the same result by querying svn, such as: svn status --show-updates --verbose But if the majority of developers really want it, it would be no big deal to add. Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[email protected]
