

@treeio_login_required
def help_page(request, url='/', response_format='html'):
    'Returns a Help page from Evergreen'
    source = getattr(settings, 'HARDTREE_HELP_SOURCE', 'http://127.0.0.1:7000/help')
    if (not url):
        url = '/'
    body = ''
    try:
        body = urllib2.urlopen((((source + url) + '?domain=') + RequestSite(request).domain)).read()
    except:
        pass
    regexp = '<!-- module_content_inner -->(?P<module_inner>.*?)<!-- /module_content_inner -->'
    blocks = re.finditer(regexp, body, re.DOTALL)
    for block in blocks:
        body = smart_unicode(request.group('module_inner').strip())
    return render_to_response('core/help_page', {
        'body': body,
    }, context_instance=RequestContext(request), response_format=response_format)

dataset/ETHPy150Open treeio/treeio/treeio/core/views.py help_page/VarMisuse@123/206 `block`->`request`