Did I find the right examples for you? yes no

All Samples(18)  |  Call(18)  |  Derive(0)  |  Import(0)

        def url(part):
    return get('base_url') + part
        


src/r/e/regenesis-HEAD/legacy/regenesis/statistic.py   regenesis(Download)
def load_description(stat_id):
    url = config.url("?sequenz=statistikInfo&selectionname=%s&sprache=de" % stat_id)
    soup = BeautifulSoup(urllib2.urlopen(url))
    texte = soup.findAll(attrs={'class': 'langtext'})
    text = u'\n'.join([t.contents[0] if len(t.contents) else '\n' for t in texte])
    return text
 
 
def load_variables(stat_id):
    url = config.url("?sequenz=statistikMerkmale&selectionname=%s&sprache=de" % stat_id)

src/p/u/PushmasterApp-HEAD/pushmaster/logic.py   PushmasterApp(Download)
def send_request_mail(request):
    body = [request.message or request.subject]
    body.append(config.url(request.uri))
 
    util.send_mail(
        pushmaster_email=push.owner.email(),
        pushmaster_name=user_info(push.owner).full_name,
        request_uri=config.url(request.uri),
        request_subject=request.subject,
        push_uri=config.url(push.uri),
        to=[push_owner_email, config.mail_to, config.mail_request],
        subject='Re: %s: %s' % (request.owner.nickname(), request.subject),
        body='I withdrew my request.\n' + config.url(request.uri))
 
    return request
                to=[owner_email, config.mail_to],
                subject='Re: %s: %s' % (request.owner.nickname(), request.subject),
                body=('Please verify your changes on %s.\n%s' % (push.stage, config.url(push.uri)))
                )
 

src/r/e/regenesis-HEAD/legacy/regenesis/variable.py   regenesis(Download)
    def _generate():
        for tr in scrape.read_table_pages(config.url("?operation=merkmaleVerzeichnis")):
            td = tr.find('td')
            if not td: continue
            if td.string:

src/r/e/regenesis-HEAD/legacy/regenesis/table.py   regenesis(Download)
def load_structure(table_id):
    # TODO Return trees, not dict
    setup = {'global': [], 'top': [], 'pre': []}
    vars = []
    ph = urllib2.urlopen(config.url("?sequenz=tabelleAufbau&selectionname=%s&sprache=de" % table_id))

src/r/e/regenesis-HEAD/legacy/regenesis/terms.py   regenesis(Download)
def terms_it():
    for tr in scrape.read_table_pages(config.url("?operation=begriffeVerzeichnis")):
        yield tr.findAll('a')[0].get('id')
 
def load_terms():