summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2016-01-16 06:11:54 -0500
committerJason R. Coombs <jaraco@jaraco.com>2016-01-16 06:11:54 -0500
commit78d4b6dee0e06a901e0e33d85eabbe45ba2be1f9 (patch)
tree28d820567f17565c97879ce55d03d801ff35001e
parentbac4c8fb46044be814f78e1cb209173c3dc05344 (diff)
downloadpython-setuptools-bitbucket-78d4b6dee0e06a901e0e33d85eabbe45ba2be1f9.tar.gz
Remove superfluous local variable
-rw-r--r--setuptools/command/build_py.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/command/build_py.py b/setuptools/command/build_py.py
index 32e37e52..c24646c3 100644
--- a/setuptools/command/build_py.py
+++ b/setuptools/command/build_py.py
@@ -61,8 +61,8 @@ class build_py(orig.build_py, Mixin2to3):
def __getattr__(self, attr):
"lazily compute data files"
if attr == 'data_files':
- self.data_files = files = self._get_data_files()
- return files
+ self.data_files = self._get_data_files()
+ return self.data_files
return orig.build_py.__getattr__(self, attr)
def build_module(self, module, module_file, package):