Fix dragonfly importing fails with panda python 2