summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2016-10-14 18:10:07 (GMT)
committerJason R. Coombs <jaraco@jaraco.com>2016-10-14 18:10:07 (GMT)
commitc581ce4c817c8d9c7d8c09fe1c7bd5933de28575 (patch)
treeba94dfe8e33fe5289f08ab37e748bd7313c8d174
parent7677ff209c9e4d59aeb2773ada1b7684a7b68dbb (diff)
downloadcpython-c581ce4c817c8d9c7d8c09fe1c7bd5933de28575.zip
cpython-c581ce4c817c8d9c7d8c09fe1c7bd5933de28575.tar.gz
cpython-c581ce4c817c8d9c7d8c09fe1c7bd5933de28575.tar.bz2
Replace trailing comments with block-level comments
-rw-r--r--Lib/distutils/command/sdist.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/distutils/command/sdist.py b/Lib/distutils/command/sdist.py
index c13dbbf..28cd0d9 100644
--- a/Lib/distutils/command/sdist.py
+++ b/Lib/distutils/command/sdist.py
@@ -261,11 +261,13 @@ class sdist(Command):
# getting distribution.data_files
if self.distribution.has_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)
if os.path.isfile(item):
self.filelist.append(item)
- else: # a (dirname, filenames) tuple
+ else:
+ # a (dirname, filenames) tuple
dirname, filenames = item
for f in filenames:
f = convert_path(f)