VirtualBox

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


Ignore:
Timestamp:
Apr 5, 2010 12:25:05 PM (15 years ago)
Author:
vboxsync
Message:

python shell: print session state as string

File:
1 edited

Legend:

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

    r27956 r27982  
    526526        else:
    527527            tele = "    "
    528         print "%sMachine '%s' [%s], state=%s" %(tele,m.name,m.id,m.sessionState)
     528        print "%sMachine '%s' [%s], state=%s" %(tele,m.name,m.id,asEnumElem(ctx,"SessionState", m.sessionState))
    529529    return 0
    530530
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