Updated for python 2.6 support

Signed-off-by: Brandyn A. White <bwhite@dappervision.com>