Revised line 115 for 2.4.3 python syntax