implemented commit

This commit is contained in:
Guido van Rossum 1995-04-28 15:41:51 +00:00
parent d22f59fd5d
commit bafc14da68
1 changed files with 5 additions and 1 deletions

View File

@ -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)