buildbot/buildbot — pull request #686 by elmirjagudin (2013-03-31 18:38:05+00:00)
Title: 'buildslave create-slave' command parameters checks

When converting 'usepty', 'keepalive', 'maxdelay' and 'log-size' parameters catch ValueError exception and print error message.

Accept exactly 4 arguments to 'buildslave create-slave' command, otherwise we get an 'ValueError: too many values to unpack' exception.

I also did some refactoring and added new unit tests.