summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-04-28 15:41:51 (GMT)
committerGuido van Rossum <guido@python.org>1995-04-28 15:41:51 (GMT)
commitbafc14da6899ae89f03d89e5cc5edbc24de17f2f (patch)
tree46a620c98938a864304805f6eb1e7ecee5735c12
parentd22f59fd5d1fcfd7a0cf6139c2f39c03c69522ca (diff)
downloadcpython-bafc14da6899ae89f03d89e5cc5edbc24de17f2f.zip
cpython-bafc14da6899ae89f03d89e5cc5edbc24de17f2f.tar.gz
cpython-bafc14da6899ae89f03d89e5cc5edbc24de17f2f.tar.bz2
implemented commit
-rwxr-xr-xDemo/pdist/rcvs.py6
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)