Attached is some basic argument fixes for the deploy_framework framework.  FYI, 
the read me file in this directory is the one for haproxy and apache :(

From: Jim Morrison <[email protected]<mailto:[email protected]>>
Date: Sunday, August 11, 2013 9:47 AM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Null vs None check for native python code

Hi,

  I tried to use mesos-submit from the top of the git tree, unfortunately, I 
got an error about the wrong number of arguments.  When I put None in for the 
missing argument I discovered that the native C code is checking for value != 
null instead of value != PyNone when the value is parsed with Parse_Tuple "O".  
Anyway, attached is a patch that allows me to run the script.

Unfortunately the script hangs when I do:
$ ./frameworks/mesos-submit/mesos-submit MYMASTER:5050 "echo hello world"

All I get is:
Connecting to mesos master MYMASTER:5050 .


Jim

Reply via email to