VirtualBox

Ignore:
Timestamp:
Jul 23, 2010 7:22:44 AM (14 years ago)
Author:
vboxsync
Message:

Main, Python: session API changes, cleanup, tweaks

File:
1 edited

Legend:

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

    r31014 r31034  
    491491        vb = ctx['vb']
    492492        session = ctx['mgr'].getSessionObject(vb)
    493         mach.lockForSession(session, True)
     493        mach.lockMachine(session, ctx['global'].constants.LockType_Shared)
    494494    except Exception,e:
    495495        printErr(ctx, "Session to '%s' not open: %s" %(mach.name,str(e)))
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