From 547e8d8c0f480b2647eeb2453f1fb9c77db42d0e Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 27 Apr 1995 21:28:20 +0000 Subject: if __name__ etc print filename when asking log message --- Demo/pdist/rrcs.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Demo/pdist/rrcs.py b/Demo/pdist/rrcs.py index 02d4e97..70895ea 100755 --- a/Demo/pdist/rrcs.py +++ b/Demo/pdist/rrcs.py @@ -52,6 +52,7 @@ def checkin(x, copts, fn): if not new and same(x, copts, fn, data): print "%s: unchanged since last checkin" % fn return + print "Checking in", fn, "..." message = asklogmessage(new) messages = x.put(fn, data, message) if messages: @@ -151,4 +152,5 @@ commands = { 'diff': ('c', diff), } -main() +if __name__ == '__main__': + main() -- cgit v0.12