Avoid a TypeError when commitmessagefile is None.
authorZac Medico <zmedico@gentoo.org>
Thu, 22 Feb 2007 11:59:58 +0000 (11:59 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 22 Feb 2007 11:59:58 +0000 (11:59 -0000)
svn path=/main/trunk/; revision=6029

bin/repoman

index c34df1b8d591b88b514c612c35445c7c711c8054..cd02e73ba2144195bb9983caee4a0f2b07dc06c0 100755 (executable)
@@ -1746,7 +1746,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")