def get_download_pipeline(in_fd, out_fd, gpg=False, lzop=True):
commands = []<EOL>if gpg:<EOL><INDENT>commands.append(GPGDecryptionFilter())<EOL><DEDENT>if lzop:<EOL><INDENT>commands.append(LZODecompressionFilter())<EOL><DEDENT>return Pipeline(commands, in_fd, out_fd)<EOL>
Create a pipeline to process a file after downloading.
        (Optionally decrypt, then decompress)