python: Make build number format consistent with C.
authorEthan Jackson <ethan@nicira.com>
Wed, 7 Mar 2012 23:48:32 +0000 (15:48 -0800)
committerEthan Jackson <ethan@nicira.com>
Thu, 8 Mar 2012 00:50:16 +0000 (16:50 -0800)
commitc9a2d670ebf21d28940ecb1f56b8afde665b4495
treeb11f9217c78fafd82ebb3d60a9f1c8299a992122
parent7921b912de1e347f418a116f6d83f802dee655e2
python: Make build number format consistent with C.

The C code displays the build number as the empty string when 0,
and as +build<num> otherwise.  This commit updates version.py to be
consistent and tests that it is in the unit tests.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
python/automake.mk
python/ovs/unixctl.py
tests/atlocal.in
tests/unixctl-py.at