def read(self, path, environ):
        """Read data from file into this vexrc instance.
        """
        try:
            inp = open(path, 'rb')
        except FileNotFoundError as error:
            if error.errno != 2:
                raise
            return None
        parsing = parse_vexrc(inp, environ)
        for heading, key, value in parsing:
            heading = self.default_heading if heading is None else heading
            if self.headings not in heading:
                self.headings[heading] = OrderedDict()
            self.headings[heading][key] = value
        parsing.close()
dataset/ETHPy150Open sashahart/vex/vex/config.py/Vexrc.read/swapped operands of `not in`