diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2022-08-02 21:03:33 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2022-08-02 21:13:43 -0400 |
commit | e90b97304d50eb1246197014ca2d794987ce1934 (patch) | |
tree | 23e9f77cedeeb30cd3765fd1e35862c2eb89cffb /setuptools/_distutils/command/sdist.py | |
parent | 9b0cf7e1dfd8c3e11a47a9b3c7f4385745d50daf (diff) | |
parent | c397f4c164e0a6f49a1ac3a70f5c80fe05785ed6 (diff) | |
download | python-setuptools-git-e90b97304d50eb1246197014ca2d794987ce1934.tar.gz |
Merge https://github.com/pypa/distutils into bugfix/distutils-164
Diffstat (limited to 'setuptools/_distutils/command/sdist.py')
-rw-r--r-- | setuptools/_distutils/command/sdist.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/_distutils/command/sdist.py b/setuptools/_distutils/command/sdist.py index ec3c97ac..d6e9489d 100644 --- a/setuptools/_distutils/command/sdist.py +++ b/setuptools/_distutils/command/sdist.py @@ -402,7 +402,7 @@ class sdist(Command): seps = '/' vcs_dirs = ['RCS', 'CVS', r'\.svn', r'\.hg', r'\.git', r'\.bzr', '_darcs'] - vcs_ptrn = r'(^|%s)(%s)(%s).*' % (seps, '|'.join(vcs_dirs), seps) + vcs_ptrn = r'(^|{})({})({}).*'.format(seps, '|'.join(vcs_dirs), seps) self.filelist.exclude_pattern(vcs_ptrn, is_regex=1) def write_manifest(self): |