5 HCE project, Python bindings, Distributed Tasks Manager application. 6 Event objects definitions. 10 @author Oleksii <developers.hce@gmail.com> 11 @link: http://hierarchical-cluster-engine.com/ 12 @copyright: Copyright © 2013-2014 IOIX Ukraine 13 @license: http://hierarchical-cluster-engine.com/license/ 28 pr = Profiler.Profiler()
31 if pr
and pr.status > 0:
39 from time
import sleep
48 exit_code = APP_CONSTS.EXIT_SUCCESS
55 app.args.add_argument(
'-c',
'--config', action=
'store', metavar=
'config_file', help=
'config ini-file', required=
True)
58 exit_code = app.exit_code
61 app.logger.error(pr.errorMsg)
62 except Exception, err:
63 sys.stderr.write(str(err))
64 exit_code = APP_CONSTS.EXIT_FAILURE
66 exit_code = APP_CONSTS.EXIT_FAILURE