mirror of
https://github.com/python/cpython.git
synced 2025-11-01 22:21:35 +00:00
Replace trailing comments with block-level comments
This commit is contained in:
parent
7677ff209c
commit
c581ce4c81
1 changed files with 4 additions and 2 deletions
|
|
@ -261,11 +261,13 @@ def add_defaults(self):
|
||||||
# getting distribution.data_files
|
# getting distribution.data_files
|
||||||
if self.distribution.has_data_files():
|
if self.distribution.has_data_files():
|
||||||
for item in self.distribution.data_files:
|
for item in self.distribution.data_files:
|
||||||
if isinstance(item, str): # plain file
|
if isinstance(item, str):
|
||||||
|
# plain file
|
||||||
item = convert_path(item)
|
item = convert_path(item)
|
||||||
if os.path.isfile(item):
|
if os.path.isfile(item):
|
||||||
self.filelist.append(item)
|
self.filelist.append(item)
|
||||||
else: # a (dirname, filenames) tuple
|
else:
|
||||||
|
# a (dirname, filenames) tuple
|
||||||
dirname, filenames = item
|
dirname, filenames = item
|
||||||
for f in filenames:
|
for f in filenames:
|
||||||
f = convert_path(f)
|
f = convert_path(f)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue