VirtualBox

Changeset 24697 in vbox for trunk


Ignore:
Timestamp:
Nov 16, 2009 2:55:56 PM (15 years ago)
Author:
vboxsync
Message:

Python shell: WS version strings handling

File:
1 edited

Legend:

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

    r24589 r24697  
    394394            traceback.print_exc()
    395395        return
    396     if session.state != ctx['ifaces'].SessionState_Open:
     396    if str(session.state) != str(ctx['ifaces'].SessionState_Open):
    397397        print "Session to '%s' in wrong state: %s" %(mach.name, session.state)
    398398        return
Note: See TracChangeset for help on using the changeset viewer.

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