PROTON-199: compatibility with python 2.4

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1439613 13f79535-47bb-0310-9956-ffa450edef68
PROTON-199: cleanup extraneous whitespace

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1439614 13f79535-47bb-0310-9956-ffa450edef68