def _fifo(self, prefix):
        if os.access(self.cf["%s.mkfifo.path" % prefix], os.F_OK|os.R_OK|os.W_OK) is False:
            try:
                os.unlink(self.cf["%s.mkfifo.path" % prefix])
                self.logger.info('Deleted filo file. - file=%s' \
                                          % self.cf["%s.mkfifo.path" % prefix])
            except:
                pass # Not anything

            try:
                create_fifo(self.cf["%s.mkfifo.path" % prefix],
                            self.cf["%s.mkfifo.user.name" % prefix],
                            self.cf["%s.mkfifo.group.name" % prefix],
                            self.cf["%s.mkfifo.perms" % prefix],
                            )
            except OSError, oe:
                self.logger.error('Failed to create a fifo file.')
                raise oe

            self.logger.info('The fifo file was created. - file=%s' \
                             % self.cf["%s.mkfifo.path" % prefix])
            return True
dataset/ETHPy150Open karesansui/pysilhouette/pysilhouette/er.py/ER._fifo/original