From 38206e9e9264877a540a7034953797b88280b24d Mon Sep 17 00:00:00 2001 From: Jakub Roztocil Date: Fri, 12 Apr 2013 11:26:42 -0300 Subject: [PATCH] Cleanup --- README.rst | 2 +- httpie/downloads.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.rst b/README.rst index d906d62d..cffe570c 100644 --- a/README.rst +++ b/README.rst @@ -877,7 +877,7 @@ Other notes: * The ``--download`` option only changes how the response body is treated. * You can still set custom headers, use ``--verbose, -v``, etc. * ``--download`` always implies ``--follow`` (redirects are followed). -* HTTPie exists with status code ``1`` (error) if the body hasn't been fully +* HTTPie exits with status code ``1`` (error) if the body hasn't been fully downloaded. * ``Accept-Encoding`` cannot be set with ``--download``. diff --git a/httpie/downloads.py b/httpie/downloads.py index 18263785..9acd2eff 100644 --- a/httpie/downloads.py +++ b/httpie/downloads.py @@ -149,7 +149,6 @@ class Download(object): :type progress_file: file """ - assert output_file, output_file self._output_file = output_file self._resume = resume self._resumed_from = 0