svn path=/trunk/packages/sipb-xen-www/; revision=607
def badOperation(u, s, e):
"""Function called when accessing an unknown URI."""
def badOperation(u, s, e):
"""Function called when accessing an unknown URI."""
- raise CodeError("Unknown operation")
+ return ({'Status': '404 Not Found'}, 'Invalid operation.')
def infoDict(username, state, machine):
"""Get the variables used by info.tmpl."""
def infoDict(username, state, machine):
"""Get the variables used by info.tmpl."""