diff options
author | Guido van Rossum <guido@python.org> | 1995-04-28 15:41:51 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-04-28 15:41:51 (GMT) |
commit | bafc14da6899ae89f03d89e5cc5edbc24de17f2f (patch) | |
tree | 46a620c98938a864304805f6eb1e7ecee5735c12 /Demo | |
parent | d22f59fd5d1fcfd7a0cf6139c2f39c03c69522ca (diff) | |
download | cpython-bafc14da6899ae89f03d89e5cc5edbc24de17f2f.zip cpython-bafc14da6899ae89f03d89e5cc5edbc24de17f2f.tar.gz cpython-bafc14da6899ae89f03d89e5cc5edbc24de17f2f.tar.bz2 |
implemented commit
Diffstat (limited to 'Demo')
-rwxr-xr-x | Demo/pdist/rcvs.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Demo/pdist/rcvs.py b/Demo/pdist/rcvs.py index 384ce64..5eead4d 100755 --- a/Demo/pdist/rcvs.py +++ b/Demo/pdist/rcvs.py @@ -119,7 +119,11 @@ class MyFile(File): return self.action() != 'C' def put(self, message = ""): - print "%s: put not yet implemented" % self.file + print "Checking in", self.file, "..." + data = open(self.file).read() + messages = self.proxy.put(self.file, data, message) + if messages: + print messages def get(self): data = self.proxy.get(self.file) |