def __enter__(self):
		logging.status("%s started" % self.name)

		# create pidfile
		open(self.pidfile, 'w').write(str(os.getpid()))

		return self
dataset/ETHPy150Open alexcepoi/pyscale/pyscale/lib/module.py/BaseModule.__enter__/original