Ignore:
Timestamp:
Jun 2, 2008, 11:30:01 PM (17 years ago)
Author:
ecprice
Message:

Fix stupid bug

Location:
trunk/packages/sipb-xen-www/code
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-www/code/main.py

    r572 r573  
    358358        validate = validation.Validate(username, state, **kws)
    359359        machine = validate.machine
    360         print >> sys.stderr, machine, machine.administrator, kws['admin']
    361360        oldname = machine.name
    362361
  • trunk/packages/sipb-xen-www/code/validation.py

    r572 r573  
    228228        return owner
    229229    if machine is not None and owner in (machine.owner, None):
    230         return None
     230        return machine.owner
    231231    if owner is None:
    232232        raise InvalidInput('owner', owner, "Owner must be specified")
Note: See TracChangeset for help on using the changeset viewer.