File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,10 @@ def find_extra_reqs(options):
23
23
for package in search_packages_info (all_pkgs ):
24
24
log .debug ('installed package: %s (at %s)' , package ['name' ],
25
25
package ['location' ])
26
- for f in package .get ('files' , []):
27
- path = os .path .realpath (os .path .join (package ['location' ], f ))
26
+ for package_file in package .get ('files' , []) or []:
27
+ path = os .path .realpath (
28
+ os .path .join (package ['location' ],package_file ),
29
+ )
28
30
installed_files [path ] = package ['name' ]
29
31
package_path = common .is_package_file (path )
30
32
if package_path :
Original file line number Diff line number Diff line change @@ -26,8 +26,10 @@ def find_missing_reqs(options):
26
26
for package in search_packages_info (all_pkgs ):
27
27
log .debug ('installed package: %s (at %s)' , package ['name' ],
28
28
package ['location' ])
29
- for file in package .get ('files' , []) or []:
30
- path = os .path .realpath (os .path .join (package ['location' ], file ))
29
+ for package_file in package .get ('files' , []) or []:
30
+ path = os .path .realpath (
31
+ os .path .join (package ['location' ],package_file ),
32
+ )
31
33
installed_files [path ] = package ['name' ]
32
34
package_path = common .is_package_file (path )
33
35
if package_path :
You can’t perform that action at this time.
0 commit comments