VirtualBox

Ignore:
Timestamp:
Jun 23, 2009 12:06:23 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
48956
Message:

Python: generate capitalized version of callbacks on Windows, now Win32 callbacks work just fine

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxShell/vboxshell.py

    r20694 r20818  
    196196        print "onGuestPropertyChange: %s" %(id)
    197197   
    198 
    199198
    200199g_hasreadline = 1
     
    373372            ctx['global'].waitForEvents(500)
    374373    # We need to catch all exceptions here, otherwise callback will never be unregistered
    375     except Exception,e:
    376         print e
     374    except:
    377375        if g_verbose:
    378376                traceback.print_exc()
    379         pass   
    380377    vbox.unregisterCallback(cb)
    381378
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette