diff options
| author | stepshal <nessento@openmailbox.org> | 2016-10-25 08:37:18 +0700 |
|---|---|---|
| committer | stepshal <nessento@openmailbox.org> | 2016-10-25 08:37:18 +0700 |
| commit | dd25d1f858cd02211f4d105ab19d6c3ce90d4048 (patch) | |
| tree | 40ea155756ce6ace5e17f37d8477edc85cabbe3e /setuptools/package_index.py | |
| parent | d382def1367e9d9b288e9b04b6f2da5987052b5b (diff) | |
| download | python-setuptools-git-dd25d1f858cd02211f4d105ab19d6c3ce90d4048.tar.gz | |
Fix spacing after comment hash.
Diffstat (limited to 'setuptools/package_index.py')
| -rwxr-xr-x | setuptools/package_index.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/setuptools/package_index.py b/setuptools/package_index.py index e5249b27..024fab98 100755 --- a/setuptools/package_index.py +++ b/setuptools/package_index.py @@ -515,10 +515,10 @@ class PackageIndex(Environment): """Add `urls` to the list that will be prescanned for searches""" for url in urls: if ( - self.to_scan is None # if we have already "gone online" - or not URL_SCHEME(url) # or it's a local file/directory + self.to_scan is None # if we have already "gone online" + or not URL_SCHEME(url) # or it's a local file/directory or url.startswith('file:') - or list(distros_for_url(url)) # or a direct package link + or list(distros_for_url(url)) # or a direct package link ): # then go ahead and process it now self.scan_url(url) |
