diff options
Diffstat (limited to 'command')
| -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) |
