Commit 03f46fcf authored by Jason R. Coombs's avatar Jason R. Coombs

Replace trailing comments with block-level comments

parent dcbe64d8
...@@ -261,11 +261,13 @@ class sdist(Command): ...@@ -261,11 +261,13 @@ class sdist(Command):
# 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)
......
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