diff options
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): |