reconnect.py: Fix Python 2.4 compatibility break.
authorAndrew Evans <aevans@nicira.com>
Tue, 15 Mar 2011 21:42:49 +0000 (14:42 -0700)
committerAndrew Evans <aevans@nicira.com>
Tue, 15 Mar 2011 21:42:49 +0000 (14:42 -0700)
commit34d84bb951caa50831f0a2f553b41d9da8ceb128
tree4150e1ad26775b9ac81db62c6e733dfa82bd5e2b
parente8fe30269ae37c485495f2c0b086fefe95ae1e50
reconnect.py: Fix Python 2.4 compatibility break.

Commit 5eda645e36 (ovsdb-server: Report time since last connect and disconnect
for each manager.) used a conditional expression in reconnect.py. That syntax
is only supported in Python 2.5 and later. XenServer 5.6 is based on RHEL 5,
which uses Python 2.4.3, so various OVS scripts on XenServer fail with Python
tracebacks.

Reported-by: Cedric Hobbs <cedric@nicira.com>
python/ovs/reconnect.py