Changeset 407 for trunk/packages/sipb-xen-www/code
- Timestamp:
- Apr 3, 2008, 3:12:13 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-www/code/main.py
r340 r407 345 345 elif back == 'info': 346 346 machine = validation.testMachineId(user, fields.getfirst('machine_id')) 347 d = infoDict(user, machine)348 d['result'] = result349 return templates.info(searchList=[d])347 return ({'Status': '302', 348 'Location': '/info?machine_id=%d' % machine.machine_id}, 349 "You shouldn't see this message.") 350 350 else: 351 351 raise InvalidInput('back', back, 'Not a known back page.')
Note: See TracChangeset
for help on using the changeset viewer.