Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(12)  |  Call(4)  |  Derive(0)  |  Import(8)

src/u/p/UPDIAN-0.6/updian/frontend/views.py   UPDIAN(Download)
from ..frontend import app
from .. import config
from ..serverlist import Server, ServerList
 
@app.route('/')
              'Creating empty server list. '
              'It will be saved once you create the first server.')
        serverlist = ServerList()
 
    template_data = dict(
def edit_server(hostname):
    try:
        serverlist = get_serverlist()
    except IOError:
        serverlist = ServerList()

src/u/p/UPDIAN-HEAD/updian/frontend/views.py   UPDIAN(Download)
from ..frontend import app
from .. import config
from ..serverlist import Server, ServerList
 
@app.route('/')
              'Creating empty server list. '
              'It will be saved once you create the first server.')
        serverlist = ServerList()
 
    template_data = dict(
def edit_server(hostname):
    try:
        serverlist = get_serverlist()
    except IOError:
        serverlist = ServerList()

src/u/p/UPDIAN-0.6/updian/frontend/utils.py   UPDIAN(Download)
 
from .. import config
from ..serverlist import ServerList
 
def get_data_filename(hostname):

src/u/p/UPDIAN-0.6/updian/cron/update.py   UPDIAN(Download)
 
if __name__ == '__main__':
    from ..serverlist import ServerList
 
    serverlist = ServerList.from_file(config.serverlist_file)

src/u/p/UPDIAN-0.6/updian/cron/collect.py   UPDIAN(Download)
 
if __name__ == '__main__':
    from ..serverlist import ServerList
 
    serverlist = ServerList.from_file(config.serverlist_file)

src/u/p/UPDIAN-HEAD/updian/frontend/utils.py   UPDIAN(Download)
 
from .. import config
from ..serverlist import ServerList
 
def get_data_filename(hostname):

src/u/p/UPDIAN-HEAD/updian/cron/update.py   UPDIAN(Download)
 
if __name__ == '__main__':
    from ..serverlist import ServerList
 
    serverlist = ServerList.from_file(config.serverlist_file)

src/u/p/UPDIAN-HEAD/updian/cron/collect.py   UPDIAN(Download)
 
if __name__ == '__main__':
    from ..serverlist import ServerList
 
    serverlist = ServerList.from_file(config.serverlist_file)