]> thyrsus.com Git - sccs2rcs.git/commitdiff
Fix broken file restoration.
authorEric S. Raymond <esr@thyrsus.com>
Thu, 6 Nov 2014 13:16:57 +0000 (08:16 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 6 Nov 2014 13:16:57 +0000 (08:16 -0500)
sccs2rcs

index 53bb2d689c1c698e28f61437d05891693e2cbba0..a6368c6b8902566b7c198e0e5a8136052acd8caf 100755 (executable)
--- a/sccs2rcs
+++ b/sccs2rcs
@@ -382,7 +382,7 @@ if __name__ == '__main__':
 
     # Replace all files for which there exist SCCS masters,
     progress("replacing workfiles...")
-    for filename in os.listdir("SCCS"):
+    for master in os.listdir("SCCS"):
         if is_sccsmaster(master):
             do_it("co " + rcsfile(workfile(master)))