Commit 3e8bb3bc authored by Jason R. Coombs's avatar Jason R. Coombs

Reindent for nicer lines

parent 35d77eb7
...@@ -26,10 +26,9 @@ class BuildBackend(BuildBackendBase): ...@@ -26,10 +26,9 @@ class BuildBackend(BuildBackendBase):
def __getattr__(self, name): def __getattr__(self, name):
"""Handles aribrary function invocations on the build backend.""" """Handles aribrary function invocations on the build backend."""
def method(*args, **kw): def method(*args, **kw):
return self.pool.submit( root = os.path.abspath(self.cwd)
BuildBackendCaller(os.path.abspath(self.cwd), self.env, caller = BuildBackendCaller(root, self.env, self.backend_name)
self.backend_name), return self.pool.submit(caller, name, *args, **kw).result()
name, *args, **kw).result()
return method return method
...@@ -91,5 +90,4 @@ def test_prepare_metadata_for_build_wheel(build_backend): ...@@ -91,5 +90,4 @@ def test_prepare_metadata_for_build_wheel(build_backend):
dist_info = build_backend.prepare_metadata_for_build_wheel(dist_dir) dist_info = build_backend.prepare_metadata_for_build_wheel(dist_dir)
assert os.path.isfile(os.path.join(dist_dir, dist_info, assert os.path.isfile(os.path.join(dist_dir, dist_info, 'METADATA'))
'METADATA'))
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment