diff options
author | Guido van Rossum <guido@python.org> | 1995-04-27 21:28:20 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-04-27 21:28:20 (GMT) |
commit | 547e8d8c0f480b2647eeb2453f1fb9c77db42d0e (patch) | |
tree | a811613bcef194d06dbea76b9a1b1ca88c7cba1a /Demo/pdist/rrcs.py | |
parent | 00bbf09e1a169c9339a215003a651b0efa2ada71 (diff) | |
download | cpython-547e8d8c0f480b2647eeb2453f1fb9c77db42d0e.zip cpython-547e8d8c0f480b2647eeb2453f1fb9c77db42d0e.tar.gz cpython-547e8d8c0f480b2647eeb2453f1fb9c77db42d0e.tar.bz2 |
if __name__ etc
print filename when asking log message
Diffstat (limited to 'Demo/pdist/rrcs.py')
-rwxr-xr-x | Demo/pdist/rrcs.py | 4 |
1 files changed, 3 insertions, 1 deletions
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() |