changed local variable that shadows builtin to more descriptive variable name
moved global variable from inside function to module level
removed extra parentheses
changed name of parameter to avoid collision with outter method parameter
converted print builtin calls to print function calls to be python3 compatiable
converted print builtin calls to print function calls to be python3 compatiable
converted print builtin calls to print function calls to be python3 compatiable
updated method parameter name to be different than local variable used within the outter method
simplified variable comparison against 2 values
removed extra parentheses
fixed naming of class
fixed naming of class
fixed class name
converted print builtin calls to print function calls to be python3 compatiable
fixed class name
method expected a string, replaced None with empty string
removed extra parentheses
replaced the use of map method with simple list extend method to suppot python3
replaced warn with warning for python3 support
leverage six iteritems for dict to support python2 and python3