diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2016-10-14 14:10:07 -0400 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2016-10-14 14:10:07 -0400 |
| commit | 03f46fcf082aa89ab4dbb516d333918429f6e4e0 (patch) | |
| tree | 9d5fe974b24e62e5d8b88a3f597363efd788d2ea | |
| parent | dcbe64d83ff6c6f60e0fc5756f91c966da930b84 (diff) | |
| download | python-setuptools-git-03f46fcf082aa89ab4dbb516d333918429f6e4e0.tar.gz | |
Replace trailing comments with block-level comments
| -rw-r--r-- | command/sdist.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/command/sdist.py b/command/sdist.py index c13dbbf8..28cd0d9e 100644 --- a/command/sdist.py +++ b/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) |
