def make_path_status(r, t=None):
 rpath = ('/recipes/' + r)
 tpath = ((t and ('/tasks/' + t)) or '')
 return ((rpath + tpath) + '/status')

def make_path_status ( r , t = None ) : rpath = ( '/recipes/' + r ) tpath = ( ( t and ( '/tasks/' + t ) ) or '' ) return ( ( rpath + tpath ) + '/status' )
converts id into a beaker path to status file given a recipe id and/or a task id .