stream.py: Don't use class decorators.
authorReid Price <reid@nicira.com>
Wed, 17 Oct 2012 00:23:26 +0000 (17:23 -0700)
committerJustin Pettit <jpettit@nicira.com>
Wed, 17 Oct 2012 00:41:26 +0000 (17:41 -0700)
commitc38f8724aeb994fd840fa4283a07e38c3c114d68
tree2becee7c663fcf31a6d4be7537c4045c0f0f9635
parentf606c7e99465477cf0533ecbc4795a0f8fe635e0
stream.py: Don't use class decorators.

Commit 8cc820 (python/ovs/stream: teach stream.py tcp socket) made a
change that used class decorators.  Unfortunately, they were not
introduced until Python 2.6.  XenServer uses Python 2.4, so the change
caused some Python-based daemons not to start.  This commit uses an
alternate syntax suggested by Reid Price.

Bug #13580

Signed-off-by: Justin Pettit <jpettit@nicira.com>
Signed-off-by: Reid Price <reid@nicira.com>
python/ovs/stream.py