def touch(self): """Make sure file at self.path exists""" log.Log("Touching " + self.path, 7) self.conn.open(self.path, "w").close() self.setdata() assert self.isreg(), self.path