Beispiel #1
0
def tracker_class(clsname):
    """Get class instance details."""
    stats = server.stats
    if not stats:
        bottle.redirect('/tracker')
    stats.annotate()
    return dict(stats=stats, clsname=clsname)
Beispiel #2
0
def tracker_class(clsname):
    """Get class instance details."""
    stats = server.stats
    if not stats:
        bottle.redirect('/tracker')
    stats.annotate()
    return dict(stats=stats, clsname=clsname)
Beispiel #3
0
def show_documentation():
    """Redirect to online documentation."""
    bottle.redirect('http://packages.python.org/Pympler')
Beispiel #4
0
def refresh():
    """Clear all cached information."""
    server.clear_cache()
    bottle.redirect('/')
Beispiel #5
0
def show_documentation():
    """Redirect to online documentation."""
    bottle.redirect('http://packages.python.org/Pympler')
Beispiel #6
0
def refresh():
    """Clear all cached information."""
    server.clear_cache()
    bottle.redirect('/')