mirror of https://github.com/python/cpython
Two lines in this file had unbalanced parentheses -- couldn't possibly
work (SyntaxErrors at compile time). I slammed in what looked like the obvious fixes, but someone who understands this file should check my work.
This commit is contained in:
parent
1b2e0d9da0
commit
700f36c752
|
@ -361,12 +361,12 @@ class bdist_rpm (Command):
|
||||||
assert len(rpms) == 1, \
|
assert len(rpms) == 1, \
|
||||||
"unexpected number of RPM files found: %s" % rpms
|
"unexpected number of RPM files found: %s" % rpms
|
||||||
dist_file = ('bdist_rpm', get_python_version(),
|
dist_file = ('bdist_rpm', get_python_version(),
|
||||||
self._dist_path(rpms[0])
|
self._dist_path(rpms[0]))
|
||||||
self.distribution.dist_files.append(dist_file)
|
self.distribution.dist_files.append(dist_file)
|
||||||
self.move_file(rpms[0], self.dist_dir)
|
self.move_file(rpms[0], self.dist_dir)
|
||||||
if debuginfo:
|
if debuginfo:
|
||||||
dist_file = ('bdist_rpm', get_python_version(),
|
dist_file = ('bdist_rpm', get_python_version(),
|
||||||
self._dist_path(debuginfo[0])
|
self._dist_path(debuginfo[0]))
|
||||||
self.move_file(debuginfo[0], self.dist_dir)
|
self.move_file(debuginfo[0], self.dist_dir)
|
||||||
# run()
|
# run()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue