Skip to content

Commit

Permalink
Merge pull request #837 from mantidproject/11846_disable_downloadfile…
Browse files Browse the repository at this point in the history
…_usage

Turn off DownloadFile usage example
  • Loading branch information
rosswhitfield committed Jun 2, 2015
2 parents 6153747 + 8aba955 commit 8fdb8f1
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions Code/Mantid/docs/source/algorithms/DownloadFile-v1.rst
Expand Up @@ -20,7 +20,7 @@ Usage

**Example - http**

.. testcode:: DownloadFileHttp
.. code-block:: python
#import the os path libraries for directory functions
import os
Expand All @@ -33,20 +33,16 @@ Usage
print "File Exists:", os.path.exists(savefile)
.. testcleanup:: DownloadFileHttp

os.remove(savefile)

Output:

.. testoutput:: DownloadFileHttp
.. code-block:: python
File Exists: True
**Example - https**

.. testcode:: DownloadFileHttps
.. code-block:: python
#import the os path libraries for directory functions
import os
Expand All @@ -59,13 +55,9 @@ Output:
print "File Exists:", os.path.exists(savefile)
.. testcleanup:: DownloadFileHttps

os.remove(savefile)

Output:

.. testoutput:: DownloadFileHttps
.. code-block:: python
File Exists: True
Expand Down

0 comments on commit 8fdb8f1

Please sign in to comment.