def __get_all_directories(self):
        dirs_to_check = []

        # append single_arg for operations that use single_arg
        # as HDFS path
        if ('mv', 'test', 'tail') in self.args.command:
            if self.args.single_arg is not None:
                dirs_to_check.append(self.args.single_arg)

        # add dirs if they exists:
        if self.args and 'dir' in self.args:
            dirs_to_check += self.args.dir

        return dirs_to_check
dataset/ETHPy150Open spotify/snakebite/snakebite/commandlineparser.py/CommandLineParser.__get_all_directories/swapped operands of `in`