[Python-checkins] python/dist/src/Lib/distutils/command bdist_rpm.py, 1.50, 1.51

tim_one at users.sourceforge.net tim_one at users.sourceforge.net
Mon Mar 28 03:06:07 CEST 2005


Update of /cvsroot/python/python/dist/src/Lib/distutils/command
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22510/Lib/distutils/command

Modified Files:
	bdist_rpm.py 
Log Message:
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.


Index: bdist_rpm.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/command/bdist_rpm.py,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- bdist_rpm.py	24 Mar 2005 07:00:05 -0000	1.50
+++ bdist_rpm.py	28 Mar 2005 01:05:48 -0000	1.51
@@ -361,12 +361,12 @@
                 assert len(rpms) == 1, \
                        "unexpected number of RPM files found: %s" % rpms
                 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.move_file(rpms[0], self.dist_dir)
                 if debuginfo:
                     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)
     # run()
 



More information about the Python-checkins mailing list