def getInfo(self, npm, dir, pkgPath):
        if dir not in self.packagePaths:
            self.packagePaths[dir] = {}

        if pkgPath == False:
            return {}
        elif self.packagePaths[dir] in npm:
            return self.getJson(self.packagePaths[dir][npm])
        else:
            self.packagePaths[dir][npm] = pkgPath
            return self.getJson(pkgPath)
dataset/ETHPy150Open dsteinbach/npm-info/NPMInfo.py/NPMInfoEvents.getInfo/swapped operands of `in`