summaryrefslogtreecommitdiffstats
path: root/Lib/setuptools/package_index.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2006-04-18 17:32:12 (GMT)
committerTim Peters <tim.peters@gmail.com>2006-04-18 17:32:12 (GMT)
commit584b0e0c3d27dc6b576366368bf7ca2f60e69e7c (patch)
treef2e33dbae88a59b367819920a5c4a2260f080788 /Lib/setuptools/package_index.py
parent17a35f906c29e71510d749283b381d95a5de0316 (diff)
downloadcpython-584b0e0c3d27dc6b576366368bf7ca2f60e69e7c.zip
cpython-584b0e0c3d27dc6b576366368bf7ca2f60e69e7c.tar.gz
cpython-584b0e0c3d27dc6b576366368bf7ca2f60e69e7c.tar.bz2
Whilespace normalization (reindint.py).
Diffstat (limited to 'Lib/setuptools/package_index.py')
-rwxr-xr-xLib/setuptools/package_index.py27
1 files changed, 2 insertions, 25 deletions
diff --git a/Lib/setuptools/package_index.py b/Lib/setuptools/package_index.py
index 3d66a7c..107e222 100755
--- a/Lib/setuptools/package_index.py
+++ b/Lib/setuptools/package_index.py
@@ -260,7 +260,7 @@ class PackageIndex(Environment):
def find_packages(self, requirement):
self.scan_url(self.index_url + requirement.unsafe_name+'/')
-
+
if not self.package_pages.get(requirement.key):
# Fall back to safe version of the name
self.scan_url(self.index_url + requirement.project_name+'/')
@@ -489,7 +489,7 @@ class PackageIndex(Environment):
"Can't process plain .py files without an '#egg=name-version'"
" suffix to enable automatic setup script generation."
)
-
+
dl_blocksize = 8192
def _download_to(self, url, filename):
self.url_ok(url,True) # raises error if not allowed
@@ -672,26 +672,3 @@ def get_sf_ip():
# DNS-bl0ck1n9 f1r3w4llz sUx0rs!
_sf_mirrors[:] = ['dl.sourceforge.net']
return random.choice(_sf_mirrors)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-