devhost-py2: use format