Avoid a TypeError when commitmessagefile is None. (trunk r6028:6029)
authorZac Medico <zmedico@gentoo.org>
Thu, 22 Feb 2007 12:00:31 +0000 (12:00 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 22 Feb 2007 12:00:31 +0000 (12:00 -0000)
svn path=/main/branches/2.1.2/; revision=6030

bin/repoman

index 62bde5de9f4977e0375f56e68663b6dd00ecb648..8d7e1346dc812a5094d1dae018035d46cb9863d8 100755 (executable)
@@ -1745,7 +1745,7 @@ else:
 
        if manifest_commit_required or signed:
                if "--pretend" in myoptions:
-                       print "(/usr/bin/cvs -q commit -F "+commitmessagefile+")"
+                       print "(/usr/bin/cvs -q commit -F commitmessagefile)"
                else:
                        fd, commitmessagefile = tempfile.mkstemp(".repoman.msg")
                        mymsg = os.fdopen(fd, "w")