[OE-core] [PATCH 2/3] prserv/serv.py: Better messaging when starting/stopping the server with port=0

Leonardo Sandoval leonardo.sandoval.gonzalez at linux.intel.com
Fri Sep 18 16:52:05 UTC 2015



On 09/17/2015 03:01 PM, Burton, Ross wrote:
> On 15 September 2015 at 15:59, <leonardo.sandoval.gonzalez at linux.intel.com>
> wrote:
>
>> +        sys.stderr.write("WARNING: Server is listening at port %s instead
>> of %s\n"
>> +                         % (rport,port))
>>
>
> I wouldn't call this a warning: port=0 means "pick your own", so it's not a
> warning that a different port was changed, it's useful information.

I add the WARNING string so user notices the new port taken. This info 
is important when trying to stop the server, but you are right, is not a 
warning, it should be just an info. Sending V2 right now.

>
> Ross
>



More information about the Openembedded-core mailing list