From c29bc3f96c992d2d39a196aacbb67b63c19f18ba Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 13 Jul 2007 12:34:35 +0000 Subject: [PATCH] This version looks like it might work. --- sccs2rcs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/sccs2rcs b/sccs2rcs index ac7d9f9..586fde1 100755 --- a/sccs2rcs +++ b/sccs2rcs @@ -104,7 +104,8 @@ def sccsfile(f): def progress(msg): global logtext - logtext += "sccs2rcs: " + msg + "\n" + msg = "sccs2rcs: " + msg + "\n" + logtext += msg print msg def get_output(command): @@ -132,7 +133,9 @@ Original unchanged history in ./SCCS. sys.exit(1) def warn(msg): - print >>sys.stderr, "sccs2rcs: warning,", msg + msg = "sccs2rcs: warning, " + logtext += msg + "\n" + print >>sys.stderr, msg def get_output_or_die(command): global logtext @@ -295,6 +298,6 @@ if __name__ == '__main__': if os.path.exists(sccsfile(filename)): os.remove(filename) os.system("co " + file) - print progress("done.") + progress("done.") # sccs2rcs ends here -- 2.43.0