Minor fix to support Python 2.6

reverted stylistic change from 41be929a7df13d5a9f0ecda19dcb1478e02b3e16 to support 2.6