VirtualBox

Changeset 19900 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
May 22, 2009 7:45:29 AM (16 years ago)
Author:
vboxsync
Message:

Python: constant works everywhere with glue (note that SessionState_Open, not SessionState.Open is what shall be used now)

File:
1 edited

Legend:

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

    r19859 r19900  
    246246            traceback.print_exc()
    247247        return
    248     if session.state != ctx['ifaces'].SessionState.Open:
     248    if session.state != ctx['ifaces'].SessionState_Open:
    249249        print "Session to '%s' in wrong state: %s" %(mach.name, session.state)
    250250        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