human
Solve the following python programming problem given the following code:
def _get_file_splits(self, input_paths, num_splits, keep_sorted = False) : 
    ' Split the input files into (roughly) *num_splits* files. Gzipped
        files are not split, but each gzipped file counts as one split.

        :param input_paths: Iterable of paths to be split
        :param num_splits: Number of splits to target
        :param keep_sorted: If True, group lines by key

        Returns a dictionary that maps split_file names to a dictionary of
        properties:

        * *orig_name*: the original name of the file whose data is in
                          the split
        * *start*: where the split starts
        * *length*: the length of the split
        ' 
    assert ((not keep_sorted) or (len (input_paths) == 1)) 
    file_names = { 
        
} 
    input_paths_to_split = [] 
    for input_path in input_paths : 
        for path in self.fs.ls (input_path) : 
            if path.endswith ('.gz') : 
                absolute_path = os.path.abspath (path) 
                file_names [absolute_path] = { 
                    'orig_name' : absolute_path, 
                    'start' : 0, 
                    'task_num' : len (file_names), 
                    'length' : os.stat (absolute_path) [stat.ST_SIZE], 
} 
                num_splits -= 1 
else : 
                input_paths_to_split.append (path) 
if (not tmp_directory) : 
        return file_names 
num_splits = max (num_splits, 1) 
    total_size = 0 
    for input_path in input_paths_to_split : 
        for path in self.fs.ls (input_path) : 
            total_size += os.stat (path) [stat.ST_SIZE] 
split_size = (total_size / num_splits) 
    tmp_directory = self._get_local_tmp_dir () 
    def create_outfile(orig_name = '', start = '') : 
        task_num = len (file_names) 
        outfile_name = os.path.join (tmp_directory, ('input_part-%05d' % task_num)) 
        new_file = { 
            'orig_name' : orig_name, 
            'start' : start, 
            'task_num' : task_num, 
} 
        file_names [outfile_name] = new_file 
    ...

    
    

    Fix the buggy line: if (not tmp_directory) :
assistant
#Here is Python code to fix the buggy line: if (not tmp_directory) :
.

if (not input_paths_to_split) :