Ignore:
Timestamp:
Nov 11, 2008, 4:32:18 AM (15 years ago)
Author:
broder
Message:

Pull the vnctoken remctl into the controls module

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-web/code/main.py

    r1613 r1615  
    4444from invirt.config import structs as config
    4545from invirt.common import InvalidInput, CodeError
    46 from invirt.remctl import remctl
    4746
    4847def pathSplit(path):
     
    248247    machine = validation.Validate(username, state, machine_id=fields.getfirst('machine_id')).machine
    249248
    250     token = controls.remctl('control', machine.name, 'vnctoken').strip()
     249    token = control.vnctoken(machine)
    251250    host = controls.listHost(machine)
    252251    if host:
Note: See TracChangeset for help on using the changeset viewer.