devhost-py2: treat  as a function, to remove more differences between the two scripts