def listdir(self, pathobj):
        """
        Returns a list of immediate sub-directories and files in path
        """
        stat = self.stat(pathobj)

        if not stat.is_dir:
            raise OSError(20, str(pathobj) % "Not a directory: %s")

        return stat.children
dataset/ETHPy150Open Parallels/artifactory/artifactory.py/_ArtifactoryAccessor.listdir/swapped operands of `%`