swc-windows-installer.py: Separate requests import from stdlib imports
authorW. Trevor King <wking@tremily.us>
Wed, 20 Mar 2013 22:13:44 +0000 (18:13 -0400)
committerW. Trevor King <wking@tremily.us>
Mon, 21 Oct 2013 03:55:18 +0000 (20:55 -0700)
Python-requests [1] is not part of the stdlib.

[1]: http://docs.python-requests.org/en/latest/

setup/swc-windows-installer.py

index 638f22887596a9eebf4dd7ada02c790615eb17aa..fa4d09e9692bf787ec302f95b687ffe41aae41b2 100755 (executable)
@@ -19,11 +19,13 @@ To use:
    You should be able to simply double click the file in Windows
 """
 
-import requests
 import shutil
 import zipfile
 import os
 
+import requests
+
+
 def install_nano(python_scripts_directory):
     """Download and install the nano text editor"""
     url = "http://www.nano-editor.org/dist/v2.2/NT/nano-2.2.6.zip"