Fix python2.6 compat in preflow-push maxflow algorithm (cont'd)