Comment 11 for bug 1500532

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/20059
Committed: http://github.org/Juniper/contrail-sandesh/commit/06913a50478b96352451f921835a5f824458760b
Submitter: Zuul
Branch: R2.20

commit 06913a50478b96352451f921835a5f824458760b
Author: arvindvis <email address hidden>
Date: Tue Sep 29 15:49:42 2015 -0700

With python2.6 collections.deque does not support maxlen attribute
So we inherit the collections.deque and add a property maxlen to
make it work in 2.6 We use property and not a instance variable
maxlen because 2.7 has maxlen as a readonly property
Closes-Bug: #1500532

Change-Id: Iab53ee65c1a4195261da672ebcbd3f663e4bb3e6