Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(3) | Call(3) | Derive(0) | Import(0)
src/d/a/datahaven-rev8661/datahaven/p2p/webcontrol.py datahaven(Download)
current_pagename = self.pagename if arg(request, 'action') == 'exit' and not dhnupdate.is_running(): dhnio.Dprint(2, 'webcontrol.Page.render action is [exit]') reactor.callLater(0, shutdowner.A, 'stop', 'exit')
return NOT_DONE_YET elif arg(request, 'action') == 'restart' and not dhnupdate.is_running(): dhnio.Dprint(2, 'webcontrol.Page.render action is [restart]') appList = dhnio.find_process(['dhnview.',])
if action == 'update': if self.debug or (dhnio.Windows() and dhnio.isFrozen()): if not dhnupdate.is_running(): dhnupdate.run() update_msg = 'preparing update process ...'