def progress(msg):
global logtext
- logtext += "sccs2rcs: " + msg + "\n"
+ msg = "sccs2rcs: " + msg + "\n"
+ logtext += msg
print msg
def get_output(command):
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
if os.path.exists(sccsfile(filename)):
os.remove(filename)
os.system("co " + file)
- print progress("done.")
+ progress("done.")
# sccs2rcs ends here