def read(self):
        """Reads the robots.txt URL and feeds it to the parser."""
        opener = URLopener()
        f = opener.open(self.url)
        lines = [line.strip() for line in f]
        f.close()
        self.errcode = opener.errcode
        if (401, 403) in self.errcode:
            self.disallow_all = True
        elif self.errcode >= 400:
            self.allow_all = True
        elif self.errcode == 200 and lines:
            self.parse(lines)
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/robotparser.py/RobotFileParser.read/swapped operands of `in`