summaryrefslogtreecommitdiff
path: root/pkg_resources
diff options
context:
space:
mode:
authorinsiv <insiv@openmailbox.org>2016-08-17 22:07:48 +0700
committerinsiv <insiv@openmailbox.org>2016-08-17 22:07:48 +0700
commitd806e4cf59b252eb2120483347c4f3772f4ca386 (patch)
tree213d7e9decc6b4de8ddcc1fe1082adb04692d579 /pkg_resources
parent0addcafeb1c80ba1ffc57756ffe7e3f0210cee1f (diff)
downloadpython-setuptools-git-d806e4cf59b252eb2120483347c4f3772f4ca386.tar.gz
Remove whitespace around parameter = sign.
Diffstat (limited to 'pkg_resources')
-rw-r--r--pkg_resources/__init__.py2
-rw-r--r--pkg_resources/tests/test_resources.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkg_resources/__init__.py b/pkg_resources/__init__.py
index 2a053b50..8d967c07 100644
--- a/pkg_resources/__init__.py
+++ b/pkg_resources/__init__.py
@@ -1913,7 +1913,7 @@ class EggMetadata(ZipProvider):
self.module_path = importer.archive
self._setup_prefix()
-_declare_state('dict', _distribution_finders = {})
+_declare_state('dict', _distribution_finders={})
def register_finder(importer_type, distribution_finder):
"""Register `distribution_finder` to find distributions in sys.path items
diff --git a/pkg_resources/tests/test_resources.py b/pkg_resources/tests/test_resources.py
index e0dbb652..e4827fa5 100644
--- a/pkg_resources/tests/test_resources.py
+++ b/pkg_resources/tests/test_resources.py
@@ -114,7 +114,7 @@ class TestDistro:
def testDistroMetadata(self):
d = Distribution(
"/some/path", project_name="FooPkg", py_version="2.4", platform="win32",
- metadata = Metadata(
+ metadata=Metadata(
('PKG-INFO',"Metadata-Version: 1.0\nVersion: 1.3-1\n")
)
)